diff --git a/common/src/main/java/tesseract/api/capability/TesseractFluidCapability.java b/common/src/main/java/tesseract/api/capability/TesseractFluidCapability.java index eefb7d2b..0c883abf 100644 --- a/common/src/main/java/tesseract/api/capability/TesseractFluidCapability.java +++ b/common/src/main/java/tesseract/api/capability/TesseractFluidCapability.java @@ -12,6 +12,7 @@ import org.jetbrains.annotations.NotNull; import tesseract.TesseractCapUtils; import tesseract.TesseractGraphWrappers; +import tesseract.api.fluid.FluidContainerHandler; import tesseract.api.fluid.FluidTransaction; import tesseract.api.fluid.IFluidNode; import tesseract.api.fluid.IFluidPipe; @@ -21,7 +22,7 @@ import java.util.List; -public class TesseractFluidCapability extends TesseractBaseCapability implements IFluidNode { +public class TesseractFluidCapability extends TesseractBaseCapability implements IFluidNode, FluidContainerHandler { private FluidTransaction old; @@ -85,6 +86,11 @@ public FluidSnapshot createSnapshot() { return null; } + @Override + public FluidContainer getFluidContainer() { + return this; + } + @Override public long insertFluid(FluidHolder resource, boolean simulate) { if (this.isSending) return 0;