mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Fix armor not being correctly initialized
This commit is contained in:
parent
716404cdbd
commit
354727f9b7
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue