From ba278bbc252340350632395bba1a0c7626c34ba9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 11 Mar 2017 02:51:31 +0100 Subject: [PATCH] Use rightclick for fire charge/flint and steel --- mods/ITEMS/mcl_fire/fire_charge.lua | 2 +- mods/ITEMS/mcl_fire/flint_and_steel.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_fire/fire_charge.lua b/mods/ITEMS/mcl_fire/fire_charge.lua index 4ab0329670..5024796548 100644 --- a/mods/ITEMS/mcl_fire/fire_charge.lua +++ b/mods/ITEMS/mcl_fire/fire_charge.lua @@ -6,7 +6,7 @@ minetest.register_craftitem("mcl_fire:fire_charge", { inventory_image = "mcl_fire_fire_charge.png", liquids_pointable = false, stack_max = 64, - on_use = function(itemstack, user, pointed_thing) + on_place = function(itemstack, user, pointed_thing) if pointed_thing.type == "node" then if minetest.get_node(pointed_thing.under).name == "mcl_tnt:tnt" then tnt.ignite(pointed_thing.under) diff --git a/mods/ITEMS/mcl_fire/flint_and_steel.lua b/mods/ITEMS/mcl_fire/flint_and_steel.lua index 44586feaa4..bda4e67ed3 100644 --- a/mods/ITEMS/mcl_fire/flint_and_steel.lua +++ b/mods/ITEMS/mcl_fire/flint_and_steel.lua @@ -5,7 +5,7 @@ minetest.register_tool("mcl_fire:flint_and_steel", { liquids_pointable = false, stack_max = 1, groups = { tool = 1 }, - on_use = function(itemstack, user, pointed_thing) + on_place = function(itemstack, user, pointed_thing) local idef = itemstack:get_definition() minetest.sound_play( "fire_flint_and_steel",