Fix armor tab not updating in Creative

This commit is contained in:
Wuzzy 2017-06-03 00:51:28 +02:00
parent 8d87ac8f0e
commit 5e0b4d749f
1 changed files with 2 additions and 1 deletions

View File

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