mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-27 11:20:26 +01:00
parent
720f6003ba
commit
e9a9bd711e
@ -36,7 +36,7 @@ function pipeworks.override_chest(chestname, override, connect_sides)
|
|||||||
pipeworks.after_place(pos)
|
pipeworks.after_place(pos)
|
||||||
end
|
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)
|
override.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
old_after_dig(pos, oldnode, oldmetadata, digger)
|
old_after_dig(pos, oldnode, oldmetadata, digger)
|
||||||
pipeworks.after_dig(pos, oldnode, oldmetadata, digger)
|
pipeworks.after_dig(pos, oldnode, oldmetadata, digger)
|
||||||
|
Loading…
Reference in New Issue
Block a user