Fixed #182 workaround for Practical Logistics

This is unstested, it may break IC2 compatibility with other mods
This commit is contained in:
LemADEC 2017-01-09 01:01:19 +01:00
parent 73d90d50f9
commit 3bee095926
2 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ import cr0s.warpdrive.world.HyperSpaceWorldGenerator;
import cr0s.warpdrive.world.SpaceWorldProvider; import cr0s.warpdrive.world.SpaceWorldProvider;
import cr0s.warpdrive.world.SpaceWorldGenerator; import cr0s.warpdrive.world.SpaceWorldGenerator;
@Mod(modid = WarpDrive.MODID, name = "WarpDrive", version = WarpDrive.VERSION, dependencies = "after:IC2API;" + " after:CoFHCore;" + " after:ComputerCraft;" @Mod(modid = WarpDrive.MODID, name = "WarpDrive", version = WarpDrive.VERSION, dependencies = "after:IC2;" + " after:CoFHCore;" + " after:ComputerCraft;"
+ " after:OpenComputer;" + " after:CCTurtle;" + " after:gregtech;" + " after:AppliedEnergistics;" + " after:EnderIO;") + " after:OpenComputer;" + " after:CCTurtle;" + " after:gregtech;" + " after:AppliedEnergistics;" + " after:EnderIO;")
public class WarpDrive implements LoadingCallback { public class WarpDrive implements LoadingCallback {
public static final String MODID = "WarpDrive"; public static final String MODID = "WarpDrive";

View file

@ -23,8 +23,8 @@ import dan200.computercraft.api.peripheral.IComputerAccess;
@Optional.InterfaceList({ @Optional.InterfaceList({
@Optional.Interface(iface = "cofh.api.energy.IEnergyHandler", modid = "CoFHCore"), @Optional.Interface(iface = "cofh.api.energy.IEnergyHandler", modid = "CoFHCore"),
@Optional.Interface(iface = "ic2.api.energy.tile.IEnergySink", modid = "IC2API"), @Optional.Interface(iface = "ic2.api.energy.tile.IEnergySink", modid = "IC2"),
@Optional.Interface(iface = "ic2.api.energy.tile.IEnergySource", modid = "IC2API") @Optional.Interface(iface = "ic2.api.energy.tile.IEnergySource", modid = "IC2")
}) })
public abstract class TileEntityAbstractEnergy extends TileEntityAbstractInterfaced implements IEnergyHandler, IEnergySink, IEnergySource { public abstract class TileEntityAbstractEnergy extends TileEntityAbstractInterfaced implements IEnergyHandler, IEnergySink, IEnergySource {
private boolean addedToEnergyNet = false; private boolean addedToEnergyNet = false;