mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix Bricks Diverting Redstone (#184)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user