forgot '+'

This commit is contained in:
DarkGuardsman 2012-07-11 05:39:55 -03:00
parent 75a33719a7
commit be1391391d

View file

@ -59,7 +59,7 @@ public class TileEntityPipe extends TileEntity implements ILiquidConsumer
if(type == this.type) if(type == this.type)
{ {
int rejectedVolume = Math.max((this.getStoredLiquid(type) + vol) - this.capacity, 0); int rejectedVolume = Math.max((this.getStoredLiquid(type) + vol) - this.capacity, 0);
this.liquidStored = vol - rejectedVolume; this.liquidStored += vol - rejectedVolume;
return rejectedVolume; return rejectedVolume;
} }
return vol; return vol;