Remove superfluous check for "mcl_potions" globabl
This commit is contained in:
parent
3e351a6e10
commit
a2db232d2f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user