mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Same @Optional fix for the Block.
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user