Fix Block Cable Painting Support.

This commit is contained in:
AlgorithmX2
2014-03-26 22:27:14 -05:00
parent f636dad621
commit 37b18d77f4
6 changed files with 46 additions and 10 deletions
+6 -1
View File
@@ -57,10 +57,15 @@ public class BlockCableBus extends AEBaseBlock
@Override
public boolean recolourBlock(World world, int x, int y, int z, ForgeDirection side, int colour)
{
return recolourBlock( world, x, y, z, side, colour, null );
}
public boolean recolourBlock(World world, int x, int y, int z, ForgeDirection side, int colour, EntityPlayer who)
{
try
{
return cb( world, x, y, z ).recolourBlock( side, colour );
return cb( world, x, y, z ).recolourBlock( side, colour, who );
}
catch (Throwable t)
{