Fix armor not being correctly initialized
parent
716404cdbd
commit
354727f9b7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue