From 888fbacb492d1900ce9ec6bfdfc34fe4f33048ac Mon Sep 17 00:00:00 2001 From: stujones11 Date: Tue, 11 Apr 2017 21:26:06 +0100 Subject: [PATCH] Prevent potentially bogus warning --- 3d_armor/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d_armor/init.lua b/3d_armor/init.lua index 6c93a51..5b3933e 100644 --- a/3d_armor/init.lua +++ b/3d_armor/init.lua @@ -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