Code cleanup
This commit is contained in:
parent
e5c5c3ca29
commit
dfc24af02e
3 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
package cr0s.warpdrive.compat;
|
||||
|
||||
import cr0s.warpdrive.WarpDrive;
|
||||
import cr0s.warpdrive.api.IBlockTransformer;
|
||||
import cr0s.warpdrive.api.ITransformation;
|
||||
import cr0s.warpdrive.config.WarpDriveConfig;
|
||||
|
@ -128,7 +127,6 @@ public class CompatPneumaticCraft implements IBlockTransformer {
|
|||
|
||||
// pressure chamber wall, pressure chamber window, pressure chamber interface
|
||||
if (nbtTileEntity.hasKey("valveX")) {
|
||||
WarpDrive.logger.info("hasKey valveX");
|
||||
ChunkCoordinates target = transformation.apply(
|
||||
nbtTileEntity.getInteger("valveX"),
|
||||
nbtTileEntity.getInteger("valveY"),
|
||||
|
|
|
@ -118,7 +118,7 @@ public class CelestialObjectManager extends XmlFileManager {
|
|||
celestialObject.dimensionId));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case CelestialObject.PROVIDER_OTHER:
|
||||
// nothing
|
||||
break;
|
||||
|
|
|
@ -580,7 +580,7 @@ public class JumpBlock {
|
|||
// This code is an IC2 hack to fix an issue on 1.7.10 up to industrialcraft-2-2.2.763-experimental, see http://bt.industrial-craft.net/view.php?id=1704
|
||||
if (!NetworkManager_instance.getClass().getName().contains("NetworkManager")) {
|
||||
NetworkManager_instance = Class.forName("ic2.core.util.SideGateway").getMethod("get").invoke(NetworkManager_instance);
|
||||
WarpDrive.logger.error("Patched IC2 API, new instance is '" + NetworkManager_instance + "'");
|
||||
WarpDrive.logger.info("Patched IC2 API, new instance is '" + NetworkManager_instance + "'");
|
||||
}
|
||||
// IC2 hack ends here
|
||||
} catch (Exception exception) {
|
||||
|
|
Loading…
Reference in a new issue