Fix armor not being correctly initialized

This commit is contained in:
Wuzzy 2017-03-09 19:19:53 +01:00
parent 716404cdbd
commit 354727f9b7
1 changed files with 2 additions and 0 deletions

View File

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