This commit is contained in:
Vladislavs Golubs
2021-02-07 18:46:24 +03:00
parent 0a0835fd2d
commit 1d5f2112a7
4 changed files with 92 additions and 44 deletions

View File

@@ -307,8 +307,8 @@ fn modify_field(packet_name: &str, field: output::Field) -> output::Field {
}),
("Success", "uuid") => field.change_type(output::DataType::Uuid { hyphenated: true }),
("Disconnect", "reason") => field.change_type(output::DataType::Chat),
("ClientBoundChatMessage", "message") => field.change_type(output::DataType::Chat),
("ClientBoundChatMessage", "position") => field.change_type(output::DataType::RefType {
("ClientBoundChat", "message") => field.change_type(output::DataType::Chat),
("ClientBoundChat", "position") => field.change_type(output::DataType::RefType {
ref_name: "MessagePosition".to_owned(),
}),
_ => field,