diff --git a/src/main/scala/resonantinduction/atomic/machine/centrifuge/TileCentrifuge.java b/src/main/scala/resonantinduction/atomic/machine/centrifuge/TileCentrifuge.java index 206601435..cc3a9e0d5 100644 --- a/src/main/scala/resonantinduction/atomic/machine/centrifuge/TileCentrifuge.java +++ b/src/main/scala/resonantinduction/atomic/machine/centrifuge/TileCentrifuge.java @@ -297,7 +297,7 @@ public class TileCentrifuge extends TileElectricInventory implements IPacketRece switch (i) { case 0: - return Compatibility.isHandler(itemStack.getItem()); + return Compatibility.isHandler(itemStack.getItem(), null); case 1: return true; case 2: diff --git a/src/main/scala/resonantinduction/atomic/machine/extractor/TileChemicalExtractor.java b/src/main/scala/resonantinduction/atomic/machine/extractor/TileChemicalExtractor.java index 1a3f30146..3da339c9c 100644 --- a/src/main/scala/resonantinduction/atomic/machine/extractor/TileChemicalExtractor.java +++ b/src/main/scala/resonantinduction/atomic/machine/extractor/TileChemicalExtractor.java @@ -309,7 +309,7 @@ public class TileChemicalExtractor extends TileProcess implements IFluidHandler // Water input for machine. if (slotID == 0) { - return Compatibility.isHandler(itemStack.getItem()); + return Compatibility.isHandler(itemStack.getItem(), null); } if (slotID == 1) diff --git a/src/main/scala/resonantinduction/electrical/transformer/ElectricTransformerNode.scala b/src/main/scala/resonantinduction/electrical/transformer/ElectricTransformerNode.scala index 1ee123084..76582da64 100644 --- a/src/main/scala/resonantinduction/electrical/transformer/ElectricTransformerNode.scala +++ b/src/main/scala/resonantinduction/electrical/transformer/ElectricTransformerNode.scala @@ -50,7 +50,7 @@ class ElectricTransformerNode(parent: INodeProvider) extends NodeElectric(parent def sendEnergy(wattage: Double, doAdd: Boolean): Double = { val tile : TileEntity = new VectorWorld(parent.asInstanceOf[TileEntity]).add(connectionDirection).getTileEntity - if(Compatibility.isHandler(tile)) + if(Compatibility.isHandler(tile,connectionDirection.getOpposite)) { return Compatibility.fill(tile, connectionDirection.getOpposite, wattage, doAdd) }