Fix armor not being correctly initialized

This commit is contained in:
Wuzzy 2017-03-09 19:19:53 +01:00
parent 716404cdbd
commit 354727f9b7

View file

@ -168,6 +168,8 @@ minetest.register_on_joinplayer(function(player)
update_inventory_original(self, player) update_inventory_original(self, player)
set_inventory(player, true) set_inventory(player, true)
end end
armor:set_player_armor(player)
armor:update_inventory(player)
end end
set_inventory(player) set_inventory(player)