diff options
| author | mat <git@matdoes.dev> | 2023-09-14 16:48:21 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-14 16:48:21 -0500 |
| commit | 83784d5a350168edaade4620122c2c6d46bc81a2 (patch) | |
| tree | e126bb4849414fff78d24c65f93376f07f44e634 /azalea-client/src/interact.rs | |
| parent | dea4a656a574318fc011e0545046b0d78b0e816e (diff) | |
| download | azalea-drasl-83784d5a350168edaade4620122c2c6d46bc81a2.tar.xz | |
rename Local to LocalEntity
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 { |
