mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-10-26 14:33:50 +00:00
Merge pull request #624 from blue42u/patch-fancyredstone
Fix redstone for fancy bricks
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user