From ab45bb7825b41c745f89a1dc6c1213742c7b8512 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 6 Sep 2022 18:41:59 +0000 Subject: rename variants in packet enums to be shorter --- azalea-protocol/src/packets/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea-protocol/src/packets/mod.rs') diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs index 06647540..110929a1 100644 --- a/azalea-protocol/src/packets/mod.rs +++ b/azalea-protocol/src/packets/mod.rs @@ -7,6 +7,8 @@ use crate::read::ReadPacketError; use azalea_buf::{BufReadError, McBufVarReadable, McBufVarWritable, McBufWritable}; use std::io::{Read, Write}; +// TODO: rename the packet files to just like clientbound_add_entity instead of clientbound_add_entity_packet + pub const PROTOCOL_VERSION: u32 = 760; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] -- cgit v1.2.3