[BUGFIX] Fixed debug output not switching to output 1

This commit is contained in:
Alexander Bielen
2019-03-05 19:28:11 +01:00
parent 6ba0938958
commit b34fe3b67d
@@ -25,7 +25,6 @@ public class MenuAction {
private static int currentOutputIndex = 0;
public static void intercept(int index) {
int outputIndex = 0;
Client client = Loader.getClient();
int action1 = client.getMenuAction1()[index];
@@ -36,9 +35,9 @@ public class MenuAction {
if (DActions.debugActions()) {
if (Game.hasAction4()) {
action4 = client.getMenuAction4()[index];
System.out.println(String.format(outputs[0][outputIndex], index, action1, action2, action3, action4, actionId));
System.out.println(String.format(outputs[0][currentOutputIndex], index, action1, action2, action3, action4, actionId));
} else {
System.out.println(String.format(outputs[1][outputIndex], index, action1, action2, action3, actionId));
System.out.println(String.format(outputs[1][currentOutputIndex], index, action1, action2, action3, actionId));
}
}