Expose registerEventListener in Baritone class
This commit is contained in:
parent
3f15451e88
commit
23779329a9
@ -114,7 +114,11 @@ public enum Baritone {
|
||||
|
||||
public void registerBehavior(Behavior behavior) {
|
||||
this.behaviors.add(behavior);
|
||||
this.gameEventHandler.registerEventListener(behavior);
|
||||
this.registerEventListener(behavior);
|
||||
}
|
||||
|
||||
public void registerEventListener(IGameEventListener listener) {
|
||||
this.gameEventHandler.registerEventListener(listener);
|
||||
}
|
||||
|
||||
public final boolean isActive() {
|
||||
|
Loading…
Reference in New Issue
Block a user