Fix Bricks Diverting Redstone (#184)

This commit is contained in:
koolkrafter5 authored and GitHub committed 2025-06-14 00:15:05 +02:00
1 parent d72a82cca4
commit 3c00791c0d
2 files changed
+10

No files matched your search

@@ -101,6 +101,11 @@ public class MultiBrick extends TConstructBlock {
return true;
}
@Override
public boolean canConnectRedstone(IBlockAccess world, int x, int y, int z, int side) {
return world.getBlockMetadata(x, y, z) == 8 && super.canConnectRedstone(world, x, y, z, side);
}
@Override
public int isProvidingWeakPower(IBlockAccess world, int x, int y, int z, int side) {
if (world.getBlockMetadata(x, y, z) == 8) return 4;
@@ -103,6 +103,11 @@ public class MultiBrickFancy extends TConstructBlock {
return true;
}
@Override
public boolean canConnectRedstone(IBlockAccess world, int x, int y, int z, int side) {
return world.getBlockMetadata(x, y, z) == 8 && super.canConnectRedstone(world, x, y, z, side);
}
@Override
public int isProvidingWeakPower(IBlockAccess world, int x, int y, int z, int side) {
if (world.getBlockMetadata(x, y, z) == 8) return 4;