Skip to content

Commit

Permalink
Merge branch 'dev-1.18' into dev-1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jul 23, 2023
2 parents 013be88 + 6b94735 commit 86d1e01
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -21,7 +22,7 @@
import java.util.List;


public class TesseractFluidCapability<T extends BlockEntity & IFluidPipe> extends TesseractBaseCapability<T> implements IFluidNode {
public class TesseractFluidCapability<T extends BlockEntity & IFluidPipe> extends TesseractBaseCapability<T> implements IFluidNode, FluidContainerHandler {

private FluidTransaction old;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 86d1e01

Please sign in to comment.