1
0
Fork 0

Fix wrong argument when piston dig calls on_dignode callbacks

mobile_bow_workaround
cora 2023-12-10 22:47:28 +01:00 committed by ancientmarinerdev
parent ceada2fcec
commit 4cfd4ef6ce
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, player_name,
local counted_drops = {} local counted_drops = {}
minetest.remove_node(n.pos) minetest.remove_node(n.pos)
for _, callback in pairs(minetest.registered_on_dignodes) do for _, callback in pairs(minetest.registered_on_dignodes) do
callback(n.pos, n) callback(n.pos, n.node)
end end
for _, item in ipairs(drops) do for _, item in ipairs(drops) do
if type(item) ~= "string" then if type(item) ~= "string" then