When PathingBehavior is disabled, clear all of the key override states

This commit is contained in:
Brady 2018-09-23 21:35:36 -05:00
parent 89ad673ae3
commit c3a21b928e
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -428,4 +428,9 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
// System.out.println("Frame took " + (split - start) + " " + (end - split));
//}
}
@Override
public void onDisable() {
Baritone.INSTANCE.getInputOverrideHandler().clearAllKeys();
}
}