CommandNode: use debug description in parse error
This commit is contained in:
parent
915d45bbc3
commit
0c74fb29a7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue