@Override
public boolean matchInWorld(World world, int x, int y, int z) {
Block b = world.getBlock(x, y, z);
if (b == ChromaBlocks.CHROMA.getBlockInstance()) {
TileEntityChroma te = (TileEntityChroma)world.getTileEntity(x, y, z);
<BUG>return te.getElement() == color && te.getBerryCount() == TileEntityChroma.BERRY_SATURATION;
</BUG>
}
return false;
}

@Override
public boolean matchInWorld(World world, int x, int y, int z) {
Block b = world.getBlock(x, y, z);
if (b == ChromaBlocks.CHROMA.getBlockInstance()) {
TileEntityChroma te = (TileEntityChroma)world.getTileEntity(x, y, z);
return te != null && te.getElement() == color && te.getBerryCount() == TileEntityChroma.BERRY_SATURATION;
}
return false;
}
