diff options
Diffstat (limited to 'azalea-client/src/interact.rs')
| -rw-r--r-- | azalea-client/src/interact.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/interact.rs b/azalea-client/src/interact.rs index 2f7480cb..b28baca5 100644 --- a/azalea-client/src/interact.rs +++ b/azalea-client/src/interact.rs @@ -3,7 +3,7 @@ use std::ops::AddAssign; use azalea_block::BlockState; use azalea_core::{BlockHitResult, BlockPos, Direction, GameMode, Vec3}; use azalea_entity::{ - clamp_look_direction, view_vector, Attributes, EyeHeight, Local, LookDirection, Position, + clamp_look_direction, view_vector, Attributes, EyeHeight, LocalEntity, LookDirection, Position, }; use azalea_inventory::{ItemSlot, ItemSlotData}; use azalea_nbt::NbtList; @@ -318,7 +318,7 @@ pub fn handle_swing_arm_event( fn update_modifiers_for_held_item( mut query: Query< (&mut Attributes, &InventoryComponent), - (With<Local>, Changed<InventoryComponent>), + (With<LocalEntity>, Changed<InventoryComponent>), >, ) { for (mut attributes, inventory) in &mut query { |
