Fix some global variable warnings

This commit is contained in:
Wuzzy 2017-06-10 17:52:21 +02:00
parent a589cbc17a
commit 823c20bd1b
4 changed files with 5 additions and 5 deletions

View file

@ -141,7 +141,7 @@ minetest.register_on_joinplayer(function(player)
set_inventory(player, true)
end
armor:set_player_armor(player)
update_inventory_original(self, player)
armor:update_inventory(player)
end
-- In Creative Mode, the initial inventory setup is handled in creative.lua