mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
invalidate the tank in the spring
This commit is contained in:
parent
48dfb8fe96
commit
72a68dfcad
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@ import net.minecraftforge.fluids.capability.templates.FluidTank;
|
|||
|
||||
public class TileEntitySpring extends TileEntityImpl implements ITickableTileEntity {
|
||||
|
||||
private final LazyOptional<IFluidHandler> tank = LazyOptional.of(() -> new InfiniteTank());
|
||||
private final LazyOptional<IFluidHandler> tank = LazyOptional.of(InfiniteTank::new);
|
||||
private AABBTicket waterTicket;
|
||||
|
||||
public TileEntitySpring() {
|
||||
|
@ -51,6 +51,7 @@ public class TileEntitySpring extends TileEntityImpl implements ITickableTileEnt
|
|||
this.waterTicket.invalidate();
|
||||
this.waterTicket = null;
|
||||
}
|
||||
this.tank.invalidate();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue