Update meshhand

This commit is contained in:
AFCMS 2023-07-14 00:17:51 +02:00
parent df2ab1fd8c
commit e936cede03
No known key found for this signature in database
GPG Key ID: 8720389A25B652E3
2 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ function mcl_inventory.update_inventory(player)
elseif player_gamemode == "survival" then elseif player_gamemode == "survival" then
player:set_inventory_formspec(mcl_inventory.build_survival_formspec(player)) player:set_inventory_formspec(mcl_inventory.build_survival_formspec(player))
end end
mcl_meshhand.update_player(player)
end end
mcl_gamemode.register_on_gamemode_change(function(player, old_gamemode, new_gamemode) mcl_gamemode.register_on_gamemode_change(function(player, old_gamemode, new_gamemode)

View File

@ -1,5 +1,5 @@
name = mcl_inventory name = mcl_inventory
author = BlockMen author = BlockMen
description = Adds the player inventory and creative inventory. description = Adds the player inventory and creative inventory.
depends = mcl_init, mcl_formspec, mcl_enchanting, mcl_gamemode depends = mcl_init, mcl_formspec, mcl_enchanting, mcl_gamemode, mcl_meshhand
optional_depends = mcl_armor, mcl_brewing, mcl_potions, mcl_enchanting, mcl_craftguide, mcl_player optional_depends = mcl_armor, mcl_brewing, mcl_potions, mcl_enchanting, mcl_craftguide, mcl_player