From ee2575794e91b9457a74a95daf1dcc707058cd58 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 12 Oct 2025 23:01:54 +0300 Subject: upgrade deps and clean up lots of doc comments --- azalea-client/src/plugins/attack.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'azalea-client/src/plugins/attack.rs') diff --git a/azalea-client/src/plugins/attack.rs b/azalea-client/src/plugins/attack.rs index 0e7cfeb8..7550ed19 100644 --- a/azalea-client/src/plugins/attack.rs +++ b/azalea-client/src/plugins/attack.rs @@ -43,7 +43,10 @@ impl Plugin for AttackPlugin { } impl Client { - /// Attack the entity with the given id. + /// Attack an entity in the world. + /// + /// This doesn't automatically look at the entity or perform any + /// range/visibility checks, so it might trigger anticheats. pub fn attack(&self, entity: Entity) { self.ecs.lock().write_message(AttackEvent { entity: self.entity, -- cgit v1.2.3