From 0ec13d6966a87a703ea4cfe3071dce5b03f539e7 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 22 Nov 2014 01:31:19 -0800 Subject: [PATCH] Cleanup: typo variables --- src/main/java/forestry/core/gui/LedgerManager.java | 6 +++--- .../java/forestry/core/gui/slots/SlotLiquidContainer.java | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) 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;