Changes due to UE

This commit is contained in:
Robert S 2014-09-19 14:13:42 -04:00
parent db937040f4
commit 9a3be97106
3 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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)

View file

@ -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)
}