From a7694d26c75c17d8438d0b08ce6f8527a5c3f77e Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 12 Feb 2019 19:55:00 +0000 Subject: [PATCH] fix bug in scythe callbacks, thanks BuckarooBanzay --- hoes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hoes.lua b/hoes.lua index 6417582..6ffa98f 100644 --- a/hoes.lua +++ b/hoes.lua @@ -433,7 +433,7 @@ minetest.register_tool("farming:scythe_mithril", { -- Run script hook for _, callback in pairs(core.registered_on_dignodes) do - callback(pos, node.name) + callback(pos, node) end -- play sound