Fix crucible rain overflow
This commit is contained in:
parent
e089d9c156
commit
3e267fedfc
|
|
@ -362,7 +362,8 @@ public abstract class AbstractCrucibleBlockEntity extends EBlockEntity {
|
||||||
if (crucible.tank.isEmpty()) {
|
if (crucible.tank.isEmpty()) {
|
||||||
crucible.tank.setFluid(new FluidStack(Fluids.WATER, 1));
|
crucible.tank.setFluid(new FluidStack(Fluids.WATER, 1));
|
||||||
crucible.markUpdated();
|
crucible.markUpdated();
|
||||||
} else if (crucible.tank.getFluid().getFluid() == Fluids.WATER) {
|
} else if (crucible.tank.getFluid().getFluid() == Fluids.WATER &&
|
||||||
|
crucible.tank.getFluidAmount() < crucible.tank.getCapacity()) {
|
||||||
crucible.tank.getFluid().grow(1);
|
crucible.tank.getFluid().grow(1);
|
||||||
crucible.markUpdated();
|
crucible.markUpdated();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user