mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 03:37:31 +01:00
Fix armor not being correctly initialized
This commit is contained in:
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
Block a user