From a2db232d2ffdef739d2b09995173c44e23df5585 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 2 Sep 2024 15:09:18 +0200 Subject: [PATCH] Remove superfluous check for "mcl_potions" globabl --- mods/PLAYER/mcl_meshhand/init.lua | 1 - mods/PLAYER/mcl_meshhand/mod.conf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/PLAYER/mcl_meshhand/init.lua b/mods/PLAYER/mcl_meshhand/init.lua index b524508fd..8958867dd 100644 --- a/mods/PLAYER/mcl_meshhand/init.lua +++ b/mods/PLAYER/mcl_meshhand/init.lua @@ -99,7 +99,6 @@ function mcl_meshhand.update_player(player) local creative = minetest.is_creative_enabled(player:get_player_name()) hand = ItemStack("mcl_meshhand:hand" .. (creative and "_crea" or "_surv")) end - if not mcl_potions then player:get_inventory():set_stack("hand", 1, hand) end player:get_inventory():set_stack("hand", 1, mcl_potions.hf_update_internal(hand, player)) end diff --git a/mods/PLAYER/mcl_meshhand/mod.conf b/mods/PLAYER/mcl_meshhand/mod.conf index fd10c259c..c53497fc2 100644 --- a/mods/PLAYER/mcl_meshhand/mod.conf +++ b/mods/PLAYER/mcl_meshhand/mod.conf @@ -1,5 +1,5 @@ name = mcl_meshhand author = jordan4ibanez description = Applies the player skin texture to the hand. -depends = mcl_tools, mcl_player, mcl_gamemode +depends = mcl_tools, mcl_player, mcl_gamemode, mcl_potions optional_depends = mcl_skins, mcl_custom_skins