Merge pull request #624 from blue42u/patch-fancyredstone

Fix redstone for fancy bricks
This commit is contained in:
Zach committed 2014-04-29 06:51:03 -04:00
commit 330fc168fd
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)
{