Changes due to UE
This commit is contained in:
parent
db937040f4
commit
9a3be97106
3 changed files with 3 additions and 3 deletions
|
@ -297,7 +297,7 @@ public class TileCentrifuge extends TileElectricInventory implements IPacketRece
|
||||||
switch (i)
|
switch (i)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
return Compatibility.isHandler(itemStack.getItem());
|
return Compatibility.isHandler(itemStack.getItem(), null);
|
||||||
case 1:
|
case 1:
|
||||||
return true;
|
return true;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
|
@ -309,7 +309,7 @@ public class TileChemicalExtractor extends TileProcess implements IFluidHandler
|
||||||
// Water input for machine.
|
// Water input for machine.
|
||||||
if (slotID == 0)
|
if (slotID == 0)
|
||||||
{
|
{
|
||||||
return Compatibility.isHandler(itemStack.getItem());
|
return Compatibility.isHandler(itemStack.getItem(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (slotID == 1)
|
if (slotID == 1)
|
||||||
|
|
|
@ -50,7 +50,7 @@ class ElectricTransformerNode(parent: INodeProvider) extends NodeElectric(parent
|
||||||
def sendEnergy(wattage: Double, doAdd: Boolean): Double =
|
def sendEnergy(wattage: Double, doAdd: Boolean): Double =
|
||||||
{
|
{
|
||||||
val tile : TileEntity = new VectorWorld(parent.asInstanceOf[TileEntity]).add(connectionDirection).getTileEntity
|
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)
|
return Compatibility.fill(tile, connectionDirection.getOpposite, wattage, doAdd)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue