aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/chunks.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-10 06:22:08 +0330
committermat <git@matdoes.dev>2025-05-10 06:22:08 +0330
commite1d3b902ba08170e4ee82c53f216445f57fbc47e (patch)
treee383f7bb54edf654016a5c370786e6cb67ed28c4 /azalea-client/src/plugins/chunks.rs
parente9b3128103d203ad4902a40124e4d22a012c196a (diff)
downloadazalea-drasl-e1d3b902ba08170e4ee82c53f216445f57fbc47e.tar.xz
add StartUseItemEvent and improve code related to interactions
Diffstat (limited to 'azalea-client/src/plugins/chunks.rs')
-rw-r--r--azalea-client/src/plugins/chunks.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/chunks.rs b/azalea-client/src/plugins/chunks.rs
index 2d31aabb..5e062887 100644
--- a/azalea-client/src/plugins/chunks.rs
+++ b/azalea-client/src/plugins/chunks.rs
@@ -17,7 +17,7 @@ use bevy_ecs::prelude::*;
use tracing::{error, trace};
use crate::{
- InstanceHolder, interact::handle_block_interact_event, inventory::InventorySet,
+ InstanceHolder, interact::handle_start_use_item_queued, inventory::InventorySet,
packet::game::SendPacketEvent, respawn::perform_respawn,
};
@@ -33,7 +33,7 @@ impl Plugin for ChunksPlugin {
)
.chain()
.before(InventorySet)
- .before(handle_block_interact_event)
+ .before(handle_start_use_item_queued)
.before(perform_respawn),
)
.add_event::<ReceiveChunkEvent>()