Fix conditional statement for item drop
This commit is contained in:
parent
545bed2e09
commit
1e51e73e5d
@ -1,7 +1,7 @@
|
||||
--Handle node drops to be compatible with the Technic node drops
|
||||
local itemDrop = minetest.get_modpath("item_drop")
|
||||
|
||||
if(itemDrop ~= "" and itemDrop ~= nil) then
|
||||
if itemDrop then
|
||||
local code = "local tool = digger:get_wielded_item():get_name()\n"..
|
||||
"if(tool:find('superheat') ~= nil)then\n"..
|
||||
"output = minetest.get_craft_result({method='cooking', items={name}})\n"..
|
||||
|
Loading…
Reference in New Issue
Block a user