registerBehavior is called explicitly now

This commit is contained in:
Brady
2023-06-13 23:21:20 -05:00
parent c7f4e366e2
commit dd7b492b0c

View File

@@ -100,7 +100,6 @@ public class Baritone implements IBaritone {
this.playerContext = new BaritonePlayerContext(this, mc);
{
// the Behavior constructor calls baritone.registerBehavior(this) so this populates the behaviors arraylist
this.registerBehavior(pathingBehavior = new PathingBehavior(this));
this.registerBehavior(lookBehavior = new LookBehavior(this));
this.registerBehavior(inventoryBehavior = new InventoryBehavior(this));