aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-05-24 02:46:19 -0500
committermat <git@matdoes.dev>2023-05-24 02:46:19 -0500
commit630c78b3180443115b84261a63bfdb3e61c41822 (patch)
tree1474b7f3f72423a7fc7d87c90e2d70937b403a91 /azalea-protocol/src/packets/game
parent33044c79574e4c8d0181232494dfa4b3e337580b (diff)
downloadazalea-drasl-630c78b3180443115b84261a63bfdb3e61c41822.tar.xz
1.20-pre5
Diffstat (limited to 'azalea-protocol/src/packets/game')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs3
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs1
2 files changed, 1 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs
index 67d29e93..dafb839f 100755
--- a/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs
@@ -1,10 +1,9 @@
use azalea_buf::McBuf;
use azalea_protocol_macros::ClientboundGamePacket;
-/// Unused in vanilla.
+/// Unused by the client in vanilla.
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundPlayerCombatEndPacket {
#[var]
pub duration: u32,
- pub killer_id: u32,
}
diff --git a/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs
index eae96f65..c309342f 100755
--- a/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs
@@ -7,6 +7,5 @@ use azalea_protocol_macros::ClientboundGamePacket;
pub struct ClientboundPlayerCombatKillPacket {
#[var]
pub player_id: u32,
- pub killer_id: u32,
pub message: FormattedText,
}