Move fire functions away from mcl_core

This commit is contained in:
Wuzzy 2017-02-01 16:43:05 +01:00
parent 18cd2be89b
commit 08052b8968
4 changed files with 62 additions and 63 deletions

View file

@ -17,7 +17,7 @@ minetest.register_tool("mcl_fire:flint_and_steel", {
if minetest.get_node(pointed_thing.under).name == "mcl_tnt:tnt" then
tnt.ignite(pointed_thing.under)
else
mcl_core.set_fire(pointed_thing)
mcl_fire.set_fire(pointed_thing)
itemstack:add_wear(66000/65) -- 65 uses
return itemstack
end