mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Remove unused variable
This commit is contained in:
parent
aeb8fa5b88
commit
47b6a8d7f8
1 changed files with 1 additions and 2 deletions
|
@ -158,8 +158,7 @@ if minetest.get_modpath("mcl_armor") then
|
||||||
pumpkin_face_base_def._on_unequip = remove_pumpkin_hud
|
pumpkin_face_base_def._on_unequip = remove_pumpkin_hud
|
||||||
|
|
||||||
minetest.register_on_joinplayer(function(player)
|
minetest.register_on_joinplayer(function(player)
|
||||||
pumpkin_head = player:get_inventory():get_stack("armor", 2):get_name() == "mcl_farming:pumpkin_face"
|
if player:get_inventory():get_stack("armor", 2):get_name() == "mcl_farming:pumpkin_face" then
|
||||||
if pumpkin_head then
|
|
||||||
add_pumpkin_hud(player)
|
add_pumpkin_hud(player)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in a new issue