diff options
Diffstat (limited to 'azalea-client/src/plugins/attack.rs')
| -rw-r--r-- | azalea-client/src/plugins/attack.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/attack.rs b/azalea-client/src/plugins/attack.rs index 137e3375..cac2a021 100644 --- a/azalea-client/src/plugins/attack.rs +++ b/azalea-client/src/plugins/attack.rs @@ -68,10 +68,10 @@ impl Client { /// A component that indicates that this client will be attacking the given /// entity next tick. #[derive(Component, Clone, Debug)] -struct AttackQueued { +pub struct AttackQueued { pub target: MinecraftEntityId, } -fn handle_attack_queued( +pub fn handle_attack_queued( mut commands: Commands, mut query: Query<( Entity, |
