mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-04 23:31:05 +01:00
Merge pull request 'Fix wrong argument when piston dig calls on_dignode callbacks (Credit: Cora)' (#4089) from bamboo_crash_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4089 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
This commit is contained in:
commit
5071855d00
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, player_name,
|
|||
local counted_drops = {}
|
||||
minetest.remove_node(n.pos)
|
||||
for _, callback in pairs(minetest.registered_on_dignodes) do
|
||||
callback(n.pos, n)
|
||||
callback(n.pos, n.node)
|
||||
end
|
||||
for _, item in ipairs(drops) do
|
||||
if type(item) ~= "string" then
|
||||
|
|
Loading…
Reference in a new issue