Skip to content

Commit c3efee6

Browse files
codiacwsor4035
authored andcommitted
fix mineclonia support
1 parent 62b966a commit c3efee6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

filter-injector.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,16 @@ for _, data in ipairs({
540540
node.on_punch = function (pos, node, puncher)
541541
punch_filter(data, pos, node)
542542
end
543+
node._mcl_redstone = {
544+
connects_to = function(node, dir)
545+
return true
546+
end,
547+
update = function(pos, node)
548+
if mcl_redstone.get_power(pos) ~= 0 then
549+
punch_filter(data, pos, node)
550+
end
551+
end,
552+
}
543553
end
544554

545555

0 commit comments

Comments
 (0)