mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Transvector interfaces now work with fluids again. Fixes #357
This commit is contained in:
1 parent
7604cd8a16
commit
30e4095192
1 file changed
+2
-2
+2
-2
@@ -36,7 +36,7 @@ import thaumcraft.api.aspects.IEssentiaTransport;
|
||||
import vazkii.tinkerer.common.lib.LibFeatures;
|
||||
@Optional.InterfaceList({@Optional.Interface(iface = "dan200.computercraft.api.peripheral.IPeripheral", modid = "ComputerCraft"),
|
||||
@Optional.Interface(iface = "buildcraft.api.power.IPowerReceptor", modid = "BuildCraft|Energy")})
|
||||
public class TileTransvectorInterface extends TileTransvector implements ISidedInventory, IFluidHandler, IPowerReceptor, /*IEnergySink, IEnergyHandler,*/ IAspectContainer, IEssentiaTransport, IPeripheral {
|
||||
public class TileTransvectorInterface extends TileTransvector implements ISidedInventory, IFluidHandler, IPowerReceptor, /*IEnergySink, IEnergyHandler,*/ IAspectContainer, IEssentiaTransport, IPeripheral{
|
||||
|
||||
private boolean addedToICEnergyNet = false;
|
||||
|
||||
@@ -162,7 +162,7 @@ public class TileTransvectorInterface extends TileTransvector implements ISidedI
|
||||
@Override
|
||||
public int fill(ForgeDirection from, FluidStack resource, boolean doFill) {
|
||||
TileEntity tile = getTile();
|
||||
return tile instanceof IFluidTank ? ((IFluidHandler) tile).fill(from, resource, doFill) : 0;
|
||||
return tile instanceof IFluidHandler ? ((IFluidHandler) tile).fill(from, resource, doFill) : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user