forked from mtcontrib/farming
add player to any callbacks when using mithril scythe
This commit is contained in:
parent
ee993f9d61
commit
15087a7352
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)
|
callback(pos, node, placer)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- play sound
|
-- play sound
|
||||||
|
Loading…
Reference in New Issue
Block a user