Fixed blocks not being harvested by items with one damage level

This commit is contained in:
aidancbrady committed 2016-01-11 21:00:32 -05:00
1 parent a72e043947
commit 0b984148b4
7 files changed
+9 -7

No files matched your search

@@ -51,11 +51,13 @@ public class BlockPlasticFence extends BlockFence
public boolean recolourBlock(World world, int x, int y, int z, ForgeDirection side, int colour)
{
int meta = world.getBlockMetadata(x, y, z);
if (meta != (15 - colour))
if(meta != (15 - colour))
{
world.setBlockMetadataWithNotify(x, y, z, 15-colour, 3);
return true;
}
return false;
}