OpenBlocks

OpenBlocks

56M Downloads

OpenBlocks major crash with MFR RedNet cables

Bizzmark opened this issue ยท 4 comments

commented

Hi, forgive the terse description but I'm not a coder and just run a little private server for myself and 2 others. I installed OpenBlocks 1.0.3 to my FTB Unleashed 1.1.3 pack and everything was going perfectly fine.. until I placed an OpenBlocks tank next to a Minefactory Rednet cable. The server crashed and refuses to load again because of a fatal incompatibility between the two; is there any possibility to fix this on your end? Thanks. Here's an excerpt from the server crashlog (I can post the rest if necessary):

PM Description: Exception while updating neighbours

java.lang.ClassCastException: powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetCable cannot be cast to openblocks.common.api.IAwareTile
at openblocks.common.block.OpenBlock.func_71863_a(OpenBlock.java:125)
at net.minecraft.world.World.func_72821_m(World.java:844)
at net.minecraft.world.World.func_72898_h(World.java:786)
at powercrystals.minefactoryreloaded.tile.rednet.RedstoneNetwork.notifySingleNode(RedstoneNetwork.java:342)
at powercrystals.minefactoryreloaded.tile.rednet.RedstoneNetwork.addOrUpdateNode(RedstoneNetwork.java:144)
at powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetCable.updateNetwork(TileEntityRedNetCable.java:242)
at powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetCable.func_70316_g(TileEntityRedNetCable.java:165)

commented

I can see the issue but cannot fix it at the moment as I only have my phone to work on. teClass is not always the te that the onNeighbourChanged is being called on. Some bad assumptions about the x,y,z are made here. @mikeemoo will know what I'm talking about and be able to fix it.

commented

Basically teClass != te.class in all cases.

commented
commented

Fixed