mirror of
https://github.com/mt-mods/pipeworks.git
synced 2026-01-01 18:55:34 +01:00
fix mineclonia support
This commit is contained in:
@@ -540,6 +540,16 @@ for _, data in ipairs({
|
|||||||
node.on_punch = function (pos, node, puncher)
|
node.on_punch = function (pos, node, puncher)
|
||||||
punch_filter(data, pos, node)
|
punch_filter(data, pos, node)
|
||||||
end
|
end
|
||||||
|
node._mcl_redstone = {
|
||||||
|
connects_to = function(node, dir)
|
||||||
|
return true
|
||||||
|
end,
|
||||||
|
update = function(pos, node)
|
||||||
|
if mcl_redstone.get_power(pos) ~= 0 then
|
||||||
|
punch_filter(data, pos, node)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user