Merge pull request #136 from CovertJaguar/patch-2

Added additional constructor for LiquidTank
This commit is contained in:
SirSengir 2012-07-27 03:37:51 -07:00
commit d6dabd35ce

View file

@ -7,6 +7,10 @@ public class LiquidTank implements ILiquidTank {
private LiquidStack liquid;
private int capacity;
public LiquidTank(int capacity) {
this(null, capacity);
}
public LiquidTank(int liquidId, int quantity, int capacity) {
this(new LiquidStack(liquidId, quantity), capacity);
}