mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-22 12:43:42 +01:00
Prevent potentially bogus warning
This commit is contained in:
parent
50453aa5a6
commit
888fbacb49
@ -241,7 +241,7 @@ minetest.register_globalstep(function(dtime)
|
||||
for i, con in pairs(pending_players) do
|
||||
local remove = armor:init_player_armor(con[1]) == true
|
||||
con[2] = con[2] + 1
|
||||
if con[2] > armor.config.init_times then
|
||||
if remove == false and con[2] > armor.config.init_times then
|
||||
minetest.log("warning", "3d_armor: Failed to initialize player")
|
||||
remove = true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user