diff --git a/src/main/java/forestry/core/gui/LedgerManager.java b/src/main/java/forestry/core/gui/LedgerManager.java index 57f1934df..96eefa8be 100755 --- a/src/main/java/forestry/core/gui/LedgerManager.java +++ b/src/main/java/forestry/core/gui/LedgerManager.java @@ -70,7 +70,7 @@ public class LedgerManager { protected void drawLedgers() { - int xPos = 8; + int yPos = 8; for (Ledger ledger : ledgers) { ledger.update(); @@ -78,8 +78,8 @@ public class LedgerManager { continue; GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - ledger.draw(gui.getSizeX(), xPos); - xPos += ledger.getHeight(); + ledger.draw(gui.getSizeX(), yPos); + yPos += ledger.getHeight(); } } diff --git a/src/main/java/forestry/core/gui/slots/SlotLiquidContainer.java b/src/main/java/forestry/core/gui/slots/SlotLiquidContainer.java index 82043a980..2a73c551d 100755 --- a/src/main/java/forestry/core/gui/slots/SlotLiquidContainer.java +++ b/src/main/java/forestry/core/gui/slots/SlotLiquidContainer.java @@ -26,12 +26,12 @@ public class SlotLiquidContainer extends SlotForestry { private final boolean allowEmpty; private final Fluid[] fluids; - public SlotLiquidContainer(IInventory iinventory, int x, int y, int z) { - this(iinventory, x, y, z, false); + public SlotLiquidContainer(IInventory iinventory, int slotIndex, int xPos, int yPos) { + this(iinventory, slotIndex, xPos, yPos, false); } - public SlotLiquidContainer(IInventory iinventory, int x, int y, int z, boolean allowEmpty, Fluid... fluids) { - super(iinventory, x, y, z); + public SlotLiquidContainer(IInventory iinventory, int slotIndex, int xPos, int yPos, boolean allowEmpty, Fluid... fluids) { + super(iinventory, slotIndex, xPos, yPos); this.allowEmpty = allowEmpty; this.fluids = fluids;