From ddef37118448b639ff56b86ae339e8913cb4ed11 Mon Sep 17 00:00:00 2001 From: x-osc <58891676+x-osc@users.noreply.github.com> Date: Sun, 5 Apr 2026 22:13:21 +0000 Subject: fix attack packet was serialized incorrectly (#323) --- azalea-protocol/src/packets/game/s_attack.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'azalea-protocol/src') diff --git a/azalea-protocol/src/packets/game/s_attack.rs b/azalea-protocol/src/packets/game/s_attack.rs index 0edc2395..96040f7c 100644 --- a/azalea-protocol/src/packets/game/s_attack.rs +++ b/azalea-protocol/src/packets/game/s_attack.rs @@ -4,5 +4,6 @@ use azalea_protocol_macros::ServerboundGamePacket; #[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)] pub struct ServerboundAttack { + #[var] pub entity_id: MinecraftEntityId, } -- cgit v1.2.3