mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Fix armor tab not updating in Creative
This commit is contained in:
parent
8d87ac8f0e
commit
5e0b4d749f
@ -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 New Issue
Block a user