mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Fix armor tab not updating in Creative
This commit is contained in:
parent
8d87ac8f0e
commit
5e0b4d749f
1 changed files with 2 additions and 1 deletions
|
@ -163,9 +163,10 @@ minetest.register_on_joinplayer(function(player)
|
|||
end
|
||||
armor.update_inventory = function(self, player)
|
||||
update_inventory_original(self, player)
|
||||
set_inventory(player, true)
|
||||
end
|
||||
armor:set_player_armor(player)
|
||||
armor:update_inventory(player)
|
||||
update_inventory_original(self, player)
|
||||
end
|
||||
|
||||
-- In Creative Mode, the initial inventory setup is handled in creative.lua
|
||||
|
|
Loading…
Reference in a new issue