1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-02-04 21:10:18 +01:00

fix bug in scythe callbacks, thanks BuckarooBanzay

This commit is contained in:
TenPlus1 2019-02-12 19:55:00 +00:00
parent feab0cc9ca
commit a7694d26c7

View File

@ -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