mirror of https://github.com/cabaletta/baritone
Register `LookBehavior` first
Since there's no event priority system, this is necessary to ensure anything else listening to the PRE `TickEvent` can accurately simulate rotations.
This commit is contained in:
parent
bfae100cb9
commit
c9a18caf49
|
@ -101,8 +101,8 @@ public class Baritone implements IBaritone {
|
|||
this.playerContext = new BaritonePlayerContext(this, mc);
|
||||
|
||||
{
|
||||
this.pathingBehavior = this.registerBehavior(PathingBehavior::new);
|
||||
this.lookBehavior = this.registerBehavior(LookBehavior::new);
|
||||
this.pathingBehavior = this.registerBehavior(PathingBehavior::new);
|
||||
this.inventoryBehavior = this.registerBehavior(InventoryBehavior::new);
|
||||
this.inputOverrideHandler = this.registerBehavior(InputOverrideHandler::new);
|
||||
this.registerBehavior(WaypointBehavior::new);
|
||||
|
|
Loading…
Reference in New Issue