From 0a9ffaf59f2718161f2c7a0ce4d36c6b0498b1f1 Mon Sep 17 00:00:00 2001 From: SpaceToad Date: Sun, 15 Jun 2014 00:24:10 +0200 Subject: [PATCH] fixed parameter setting in gate gui --- common/buildcraft/transport/gui/GuiGateInterface.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/buildcraft/transport/gui/GuiGateInterface.java b/common/buildcraft/transport/gui/GuiGateInterface.java index bd280df6..3644cfac 100644 --- a/common/buildcraft/transport/gui/GuiGateInterface.java +++ b/common/buildcraft/transport/gui/GuiGateInterface.java @@ -220,7 +220,7 @@ public class GuiGateInterface extends GuiAdvancedInterface { } for (int k = 0; k < 4; ++k) { - slots[position] = new TriggerParameterSlot(71, 26 + 18 * k, pipe, k, (TriggerSlot) slots[k]); + slots[position] = new TriggerParameterSlot(71, 26 + 18 * k, pipe, 0, (TriggerSlot) slots[k]); position++; } @@ -242,10 +242,10 @@ public class GuiGateInterface extends GuiAdvancedInterface { } for (int k = 0; k < 4; ++k) { - slots[position] = new TriggerParameterSlot(26, 26 + 18 * k, pipe, k, + slots[position] = new TriggerParameterSlot(26, 26 + 18 * k, pipe, 0, (TriggerSlot) slots[k]); position++; - slots[position] = new TriggerParameterSlot(116, 26 + 18 * k, pipe, k, + slots[position] = new TriggerParameterSlot(116, 26 + 18 * k, pipe, 0, (TriggerSlot) slots[k + 4]); position++; }