Fixed reactor chamber crash regression

This commit is contained in:
LemADEC 2015-08-22 14:27:21 +02:00
parent 2d32fe465d
commit 6538fb4929

View file

@ -138,7 +138,7 @@ public class JumpBlock {
if (tileEntity instanceof TileEntityShipCore) {// WarpDrive
// !!! WarpDrive.shipCores.removeFromRegistry((TileEntityShipCore) tileEntity);
} else if (teClass.getName().contains("ic2.core.block")) {// IC2
} else if (teClass.getSuperclass().getName().contains("ic2.core.block")) {// IC2
Method onUnloaded = teClass.getMethod("onUnloaded");
Method onLoaded = teClass.getMethod("onLoaded");
if (onUnloaded != null && onLoaded != null) {