Fix redstone for fancy bricks

This commit is contained in:
blue42u committed 2014-04-28 21:11:10 -05:00
1 parent 044329658e
commit 9bc6da0527
2 files changed
+3 -12

No files matched your search

@@ -126,9 +126,9 @@ public class MultiBrick extends TConstructBlock
*/
@Override
public boolean isNormalCube (IBlockAccess world, int x, int y, int z)
public boolean canProvidePower ()
{
return world.getBlockMetadata(x, y, z) != 8;
return true;
}
@Override
@@ -131,20 +131,11 @@ public class MultiBrickFancy extends TConstructBlock
* @Override public int getRenderType () { return BrickRender.model; }
*/
@Override
public boolean isNormalCube (IBlockAccess world, int x, int y, int z)
{
return world.getBlockMetadata(x, y, z) != 8;
}
// TODO canProvidePower
@Override
public boolean canProvidePower ()
{
return false;
return true;
}
// TODO isProvindingWeakPower
@Override
public int isProvidingWeakPower (IBlockAccess world, int x, int y, int z, int side)
{