forked from mtcontrib/farming
fix bug in scythe callbacks, thanks BuckarooBanzay
This commit is contained in:
parent
feab0cc9ca
commit
a7694d26c7
2
hoes.lua
2
hoes.lua
@ -433,7 +433,7 @@ minetest.register_tool("farming:scythe_mithril", {
|
|||||||
|
|
||||||
-- Run script hook
|
-- Run script hook
|
||||||
for _, callback in pairs(core.registered_on_dignodes) do
|
for _, callback in pairs(core.registered_on_dignodes) do
|
||||||
callback(pos, node.name)
|
callback(pos, node)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- play sound
|
-- play sound
|
||||||
|
Loading…
Reference in New Issue
Block a user