From ad12ddcb009ccc4eeb13ddef0871db1d9322ab7d Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 9 Nov 2022 17:21:00 +0000 Subject: [PATCH] fix --- README.md | 2 +- azalea-protocol/src/packets/mod.rs | 4 ++-- codegen/migrate.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a5b276ee..e88eb5d1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A collection of Rust crates for making Minecraft bots, clients, and tools.

-*Currently supported Minecraft version: `22w44a`.* +*Currently supported Minecraft version: `22w45a`.* ## ⚠️ Azalea is still very unfinished, though most crates are in a somewhat useable state diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs index f74f663b..a2749684 100644 --- a/azalea-protocol/src/packets/mod.rs +++ b/azalea-protocol/src/packets/mod.rs @@ -9,7 +9,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 = 1073741930; +pub const PROTOCOL_VERSION: u32 = 1073741931; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum ConnectionProtocol { @@ -55,4 +55,4 @@ impl McBufWritable for ConnectionProtocol { fn write_into(&self, buf: &mut impl Write) -> Result<(), std::io::Error> { (*self as i32).var_write_into(buf) } -} +} \ No newline at end of file diff --git a/codegen/migrate.py b/codegen/migrate.py index 597e53a1..184bce15 100644 --- a/codegen/migrate.py +++ b/codegen/migrate.py @@ -116,9 +116,9 @@ if old_ordered_blocks != new_ordered_blocks: block_states_report = lib.extract.get_block_states_report(new_version_id) shape_datas = lib.extract.get_pixlyzer_data( - version_id, 'shapes') + new_version_id, 'shapes') pixlyzer_block_datas = lib.extract.get_pixlyzer_data( - version_id, 'blocks') + new_version_id, 'blocks') lib.code.blocks.generate_blocks( block_states_burger, block_states_report, new_ordered_blocks, new_mappings)