forgot '+'
This commit is contained in:
parent
75a33719a7
commit
be1391391d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class TileEntityPipe extends TileEntity implements ILiquidConsumer
|
|||
if(type == this.type)
|
||||
{
|
||||
int rejectedVolume = Math.max((this.getStoredLiquid(type) + vol) - this.capacity, 0);
|
||||
this.liquidStored = vol - rejectedVolume;
|
||||
this.liquidStored += vol - rejectedVolume;
|
||||
return rejectedVolume;
|
||||
}
|
||||
return vol;
|
||||
|
|
Loading…
Reference in a new issue