multi threaded

This commit is contained in:
Leijurv 2018-08-23 15:57:29 -07:00
parent 9accdf097f
commit e85f439c0f
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -61,11 +61,11 @@ public class PathingBehavior extends Behavior {
private boolean lastAutoJump;
private void dispatchPathEvent(PathEvent event) {
//new Thread() {
// public void run() {
Baritone.INSTANCE.getGameEventHandler().onPathEvent(event);
// }
//}.start();
new Thread() {
public void run() {
Baritone.INSTANCE.getGameEventHandler().onPathEvent(event);
}
}.start();
}
@Override