protocol: add missing minecraft:uuid CommandNode property
Fixes thread '<unnamed>' panicked at 'unsupported command node parser minecraft:uuid', protocol/src/protocol/packet.rs:3098:22 This was added in https://wiki.vg/index.php?title=Command_Data&diff=15659&oldid=14622
This commit is contained in:
parent
eb703f0776
commit
4e9cda2929
|
@ -2968,6 +2968,7 @@ pub enum CommandProperty {
|
|||
ItemEnchantment,
|
||||
EntitySummon,
|
||||
Dimension,
|
||||
UUID,
|
||||
}
|
||||
|
||||
impl Serializable for CommandNode {
|
||||
|
@ -3095,6 +3096,7 @@ impl Serializable for CommandNode {
|
|||
"minecraft:item_enchantment" => CommandProperty::ItemEnchantment,
|
||||
"minecraft:entity_summon" => CommandProperty::EntitySummon,
|
||||
"minecraft:dimension" => CommandProperty::Dimension,
|
||||
"minecraft:uuid" => CommandProperty::UUID,
|
||||
_ => panic!("unsupported command node parser {}", parse),
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue