mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-26 10:50:27 +01:00
parent
720f6003ba
commit
e9a9bd711e
@ -36,7 +36,7 @@ function pipeworks.override_chest(chestname, override, connect_sides)
|
||||
pipeworks.after_place(pos)
|
||||
end
|
||||
|
||||
local old_after_dig = override.after_dig or old_def.after_dig or function() end
|
||||
local old_after_dig = override.after_dig or old_def.after_dig_node or function() end
|
||||
override.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||
old_after_dig(pos, oldnode, oldmetadata, digger)
|
||||
pipeworks.after_dig(pos, oldnode, oldmetadata, digger)
|
||||
@ -87,4 +87,4 @@ function pipeworks.override_chest(chestname, override, connect_sides)
|
||||
|
||||
minetest.override_item(chestname, override)
|
||||
pipeworks.chests[chestname] = true
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user