diff options
| author | mat <git@matdoes.dev> | 2025-05-07 15:08:31 -0545 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-07 15:08:31 -0545 |
| commit | ad4eaa174c924c23dc06a0aea06537a078ce4c45 (patch) | |
| tree | 3a0a34252804c6601c2734241c106699bf4fc00d /azalea-client/src/plugins/attack.rs | |
| parent | e0d3352a90ddbdeb06314e6f38d2afe6fa4ddd78 (diff) | |
| download | azalea-drasl-ad4eaa174c924c23dc06a0aea06537a078ce4c45.tar.xz | |
doc warnings
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, |
