aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx-osc <58891676+x-osc@users.noreply.github.com>2026-04-05 22:13:21 +0000
committerGitHub <noreply@github.com>2026-04-05 17:13:21 -0500
commitddef37118448b639ff56b86ae339e8913cb4ed11 (patch)
tree1abf968246b240b6ab742d34bbbbcc368dc678c3
parent615df92e07472e24b512ec893b9e88d6c8b8e90a (diff)
downloadazalea-drasl-ddef37118448b639ff56b86ae339e8913cb4ed11.tar.xz
fix attack packet was serialized incorrectly (#323)
-rw-r--r--azalea-protocol/src/packets/game/s_attack.rs1
1 files changed, 1 insertions, 0 deletions
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,
}