aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets
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
parent33044c79574e4c8d0181232494dfa4b3e337580b (diff)
downloadazalea-drasl-630c78b3180443115b84261a63bfdb3e61c41822.tar.xz
1.20-pre5
Diffstat (limited to 'azalea-protocol/src/packets')
-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
-rwxr-xr-xazalea-protocol/src/packets/mod.rs2
3 files changed, 2 insertions, 4 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,
}
diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs
index 98e0d091..814fe121 100755
--- a/azalea-protocol/src/packets/mod.rs
+++ b/azalea-protocol/src/packets/mod.rs
@@ -10,7 +10,7 @@ use std::io::{Cursor, Write};
// TODO: rename the packet files to just like clientbound_add_entity instead of
// clientbound_add_entity_packet
-pub const PROTOCOL_VERSION: u32 = 1073741959;
+pub const PROTOCOL_VERSION: u32 = 1073741962;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ConnectionProtocol {