From 9a3be971067354cc753367c45efa83b7defe974a Mon Sep 17 00:00:00 2001 From: Robert S Date: Fri, 19 Sep 2014 14:13:42 -0400 Subject: [PATCH] Changes due to UE --- .../atomic/machine/centrifuge/TileCentrifuge.java | 2 +- .../atomic/machine/extractor/TileChemicalExtractor.java | 2 +- .../electrical/transformer/ElectricTransformerNode.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) }