Merge pull request #132 from CovertJaguar/patch-5
Added Iron Eng support for container.amount != 1000
This commit is contained in:
commit
5402464c8d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue