Fix uninitialized beahvior list
This commit is contained in:
parent
774b906d19
commit
ae59f0606d
@ -3,6 +3,7 @@ package baritone.bot;
|
|||||||
import baritone.bot.behavior.Behavior;
|
import baritone.bot.behavior.Behavior;
|
||||||
import org.reflections.Reflections;
|
import org.reflections.Reflections;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -39,6 +40,7 @@ public enum Baritone {
|
|||||||
this.actionHandler = new GameActionHandler();
|
this.actionHandler = new GameActionHandler();
|
||||||
this.gameEventHandler = new GameEventHandler();
|
this.gameEventHandler = new GameEventHandler();
|
||||||
this.inputOverrideHandler = new InputOverrideHandler();
|
this.inputOverrideHandler = new InputOverrideHandler();
|
||||||
|
this.behaviors = new ArrayList<>();
|
||||||
|
|
||||||
this.active = true;
|
this.active = true;
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user