CommandNode: use debug description in parse error

This commit is contained in:
ice_iix 2022-08-07 16:54:48 -07:00
parent 915d45bbc3
commit 0c74fb29a7
1 changed files with 1 additions and 1 deletions

View File

@ -3662,7 +3662,7 @@ impl Serializable for CommandNode {
"forge:enum" => CommandProperty::ForgeEnum {
cls: Serializable::read_from(buf)?,
},
_ => panic!("unsupported command node parser {}", parse),
_ => panic!("unsupported command node parser {:?}", parse),
})
} else {
None