diff options
| author | mat <git@matdoes.dev> | 2025-06-11 22:22:26 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-11 22:22:26 +0000 |
| commit | 1b348ceeffc61e49b19f2982e7a9de479c1678de (patch) | |
| tree | bead28ce1a076a3af5ca5df2c326c9e94b63dd92 /azalea/src | |
| parent | 067ec06f26ecaf7a319eb3ce61307b9730176313 (diff) | |
| download | azalea-drasl-1b348ceeffc61e49b19f2982e7a9de479c1678de.tar.xz | |
implement reverting block state predictions on ack
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/pathfinder/simulation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs index 337efda7..5c548aa2 100644 --- a/azalea/src/pathfinder/simulation.rs +++ b/azalea/src/pathfinder/simulation.rs @@ -3,7 +3,7 @@ use std::sync::Arc; use azalea_client::{ - PhysicsState, interact::CurrentSequenceNumber, inventory::Inventory, + PhysicsState, interact::BlockStatePredictionHandler, inventory::Inventory, local_player::LocalGameMode, mining::MineBundle, packet::game::SendPacketEvent, }; use azalea_core::{ @@ -113,7 +113,7 @@ fn create_simulation_player_complete_bundle( Inventory::default(), LocalGameMode::from(GameMode::Survival), MineBundle::default(), - CurrentSequenceNumber::default(), + BlockStatePredictionHandler::default(), azalea_client::local_player::PermissionLevel::default(), azalea_client::local_player::PlayerAbilities::default(), ) |
