From 7857a014b92e64361ee237ceae7ef1acc185ac46 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:59:05 -0600 Subject: 1.20.3 (#110) * 23w40a * 23w41a * 23w42a * 23w43a * 23w44a * serialize FormattedText as nbt in network * use azalea-nbt/serde in azalea-chat * 23w45a * fix 23w45a to compile * handle Object in codegen * 1.20.3-pre2 * remove unused clientbound_resource_pack_packet.rs * merge main and make azalea-chat use simdnbt * 1.20.3-rc1 * fix tests * use simdnbt 0.3 * fix ServerboundSetJigsawBlockPacket * 1.20.3 --- codegen/lib/code/utils.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'codegen/lib') diff --git a/codegen/lib/code/utils.py b/codegen/lib/code/utils.py index cb835ecb..f4f9ca82 100755 --- a/codegen/lib/code/utils.py +++ b/codegen/lib/code/utils.py @@ -76,6 +76,9 @@ def burger_type_to_rust_type(burger_type, field_name: Optional[str] = None, inst field_type_rs = 'todo!()' elif burger_type == 'Iterator': field_type_rs = 'todo!()' + elif burger_type == 'Object': + # depends on context + field_type_rs = 'todo!()' elif burger_type == 'enum': if not instruction or not mappings or not obfuscated_class_name: field_type_rs = 'todo!("enum")' -- cgit v1.2.3