mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41: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` |
||
---|---|---|
.. | ||
benches | ||
examples | ||
src | ||
Cargo.toml |