Fixed reactor chamber crash regression
This commit is contained in:
parent
2d32fe465d
commit
6538fb4929
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue