From 76f970742d81bd553a35efdea7f3dc832b21b398 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Mon, 28 Dec 2015 11:19:55 +0100 Subject: [PATCH] use the luacontroller tool when left clicking instead of right click --- moremesecons_luacontroller_tool/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moremesecons_luacontroller_tool/init.lua b/moremesecons_luacontroller_tool/init.lua index c8501c6..1edc10c 100644 --- a/moremesecons_luacontroller_tool/init.lua +++ b/moremesecons_luacontroller_tool/init.lua @@ -141,7 +141,7 @@ minetest.register_tool("moremesecons_luacontroller_tool:lctt", { description = "luacontroller template tool", inventory_image = "moremesecons_luacontroller_tool.png", - on_place = function(itemstack, player, pt) + on_use = function(_, player, pt) if not player or not pt then return