mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-12 00:07:29 +00:00
fix certus tank update spam 2.8 2.9 (#385)
This commit is contained in:
1 parent
341f1d9236
commit
20f03a8e9f
1 file changed
+2
-2
@@ -73,7 +73,7 @@ public class TileCertusQuartzTank extends TileEntity implements IFluidHandler {
|
||||
FluidStack drainedFluid = this.tank.drain(amount, doDrain);
|
||||
int drained = drainedFluid != null ? drainedFluid.amount : 0;
|
||||
|
||||
if (drained > 0) {
|
||||
if (doDrain && drained > 0) {
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ public class TileCertusQuartzTank extends TileEntity implements IFluidHandler {
|
||||
|
||||
int filled = this.tank.fill(fluid, doFill);
|
||||
|
||||
if (filled > 0) {
|
||||
if (doFill && filled > 0) {
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user