mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-25 23:31:30 +11:00
53573642ec
## Description Makes `Ident` consistent with vanilla by prepending the default namespace if none is provided in the constructor. Previously, the constructor did not normalize `foo` to `minecraft:foo`. This could lead to subtle bugs when the ident is eventually unwrapped with `Ident::as_str`. (comparing `foo` with `minecraft:foo` while inside the `Ident` was still handled correctly). ## Test Plan Steps: 1. `cargo test` |
||
---|---|---|
.. | ||
block.rs | ||
enchant.rs | ||
item.rs | ||
main.rs | ||
sound.rs | ||
translation_key.rs |