mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-08-06 17:20:42 +02:00
add player to any callbacks when using mithril scythe
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user