From 8b6d621d20318b3c69202fc5b4fbcde43f410806 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 5 Jan 2019 23:38:24 -0800 Subject: [PATCH] crucial performance optimization --- src/main/java/baritone/utils/PathingControlManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/utils/PathingControlManager.java b/src/main/java/baritone/utils/PathingControlManager.java index 1dfdbb57..79a36695 100644 --- a/src/main/java/baritone/utils/PathingControlManager.java +++ b/src/main/java/baritone/utils/PathingControlManager.java @@ -174,7 +174,7 @@ public class PathingControlManager implements IPathingControlManager { boolean found = false; boolean cancelOthers = false; PathingCommand exec = null; - for (int i = inContention.size() - 1; i >= 0; i--) { // truly a gamer moment + for (int i = inContention.size() - 1; i >= 0; --i) { // truly a gamer moment IBaritoneProcess proc = inContention.get(i); if (found) { if (cancelOthers) {