Same @Optional fix for the Block.

This commit is contained in:
Vexatos committed 2015-01-06 16:27:57 +01:00
1 parent 3f44801eec
commit 2ae87e4973
1 file changed
+1 -1
@@ -36,7 +36,7 @@ public class BlockRFGenerator extends BlockModContainer implements ILexiconable
}
@Override
@Optional.Method(modid = "CoFHAPI")
@Optional.Method(modid = "CoFHAPI|energy")
public void onNeighborChange(IBlockAccess world, int x, int y, int z, int tileX, int tileY, int tileZ) {
TileEntity tile = world.getTileEntity(x, y, z);
if(tile != null && tile instanceof TileRFGenerator)