From c98cd10e73cc38af2d340d9cf51f9b4cbfda164e Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Fri, 27 Jul 2012 01:22:15 -0700 Subject: [PATCH] Added additional constructor for LiquidTank --- common/buildcraft/api/liquids/LiquidTank.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/buildcraft/api/liquids/LiquidTank.java b/common/buildcraft/api/liquids/LiquidTank.java index bedbc632..62f51755 100644 --- a/common/buildcraft/api/liquids/LiquidTank.java +++ b/common/buildcraft/api/liquids/LiquidTank.java @@ -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); }