Added support for non-standard liquid containers

This commit is contained in:
CovertJaguar 2012-07-26 09:51:20 -07:00
parent c51c68b2ba
commit fed2e59254

View file

@ -130,7 +130,7 @@ public class EngineIron extends Engine {
LiquidStack liquid = LiquidManager.getLiquidForFilledItem(itemInInventory);
if (liquid != null) {
if (fill(Orientations.Unknown, liquid, false) == BuildCraftAPI.BUCKET_VOLUME) {
if (fill(Orientations.Unknown, liquid, false) == liquid.amount) {
fill(Orientations.Unknown, liquid, true);
tile.setInventorySlotContents(0, Utils.consumeItem(itemInInventory));
}