mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-16 12:52:27 +01:00
Fix armor tab not updating in Creative
This commit is contained in:
@ -163,9 +163,10 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
end
|
end
|
||||||
armor.update_inventory = function(self, player)
|
armor.update_inventory = function(self, player)
|
||||||
update_inventory_original(self, player)
|
update_inventory_original(self, player)
|
||||||
|
set_inventory(player, true)
|
||||||
end
|
end
|
||||||
armor:set_player_armor(player)
|
armor:set_player_armor(player)
|
||||||
armor:update_inventory(player)
|
update_inventory_original(self, player)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- In Creative Mode, the initial inventory setup is handled in creative.lua
|
-- In Creative Mode, the initial inventory setup is handled in creative.lua
|
||||||
|
Reference in New Issue
Block a user