aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/bot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/bot.rs')
-rw-r--r--azalea/src/bot.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs
index 1f3822ac..ce5b9fdc 100644
--- a/azalea/src/bot.rs
+++ b/azalea/src/bot.rs
@@ -20,9 +20,13 @@ impl Plugin for BotPlugin {
fn build(&self, app: &mut App) {
app.add_event::<LookAtEvent>()
.add_event::<JumpEvent>()
- .add_system(insert_bot.before("deduplicate_entities"))
- .add_system(look_at_listener)
- .add_system(jump_listener.label("jump_listener").before("ai_step"))
+ .add_system(insert_bot)
+ .add_system(
+ look_at_listener
+ .before("force_jump_listener")
+ .before(azalea_world::entity::update_bounding_box),
+ )
+ .add_system(jump_listener.label("jump_listener"))
.add_tick_system(stop_jumping.after("ai_step"));
}
}