Set creative tank amount to capacity on tick. Fix #2558. Thanks to Technici4n
* Set creative tank amount to capacity on tick. Fix #2558. * Remove FluidValue.INFINITE * Was better with the /1000
This commit is contained in:
parent
f39c619c22
commit
165d27cfda
2 changed files with 1 additions and 2 deletions
|
@ -100,7 +100,7 @@ public class TankUnitBaseBlockEntity extends MachineBaseBlockEntity implements I
|
|||
|
||||
if (type == TRContent.TankUnit.CREATIVE) {
|
||||
if (!tank.isEmpty() && !tank.isFull()) {
|
||||
tank.setFluidAmount(FluidValue.INFINITE);
|
||||
tank.setFluidAmount(tank.getFluidValueCapacity());
|
||||
}
|
||||
}
|
||||
syncWithAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue