Added support for non-standard liquid containers
This commit is contained in:
parent
c51c68b2ba
commit
fed2e59254
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