1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2026-01-01 15:45:33 +01:00

fix mineclonia support

This commit is contained in:
codiac
2025-12-26 15:23:32 -05:00
committed by wsor4035
parent 62b966ab6c
commit c3efee6bbf

View File

@@ -540,6 +540,16 @@ for _, data in ipairs({
node.on_punch = function (pos, node, puncher)
punch_filter(data, pos, node)
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