aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/attack.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-07 15:08:31 -0545
committermat <git@matdoes.dev>2025-05-07 15:08:31 -0545
commitad4eaa174c924c23dc06a0aea06537a078ce4c45 (patch)
tree3a0a34252804c6601c2734241c106699bf4fc00d /azalea-client/src/plugins/attack.rs
parente0d3352a90ddbdeb06314e6f38d2afe6fa4ddd78 (diff)
downloadazalea-drasl-ad4eaa174c924c23dc06a0aea06537a078ce4c45.tar.xz
doc warnings
Diffstat (limited to 'azalea-client/src/plugins/attack.rs')
-rw-r--r--azalea-client/src/plugins/attack.rs4
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,