valence/crates
Ryan Johnson 53573642ec
Make Ident consistent with vanilla. (#309)
## 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`
2023-03-25 18:44:45 -07:00
..
dump_schedule dump_schedule utility (#300) 2023-03-23 01:01:50 -07:00
packet_inspector fix key input with filters, also removed regex from gui and make text… (#298) 2023-03-21 23:49:44 -07:00
playground Entity Rework (#294) 2023-03-21 23:29:38 -07:00
valence Make Ident consistent with vanilla. (#309) 2023-03-25 18:44:45 -07:00
valence_anvil Make Ident consistent with vanilla. (#309) 2023-03-25 18:44:45 -07:00
valence_nbt Refactor valence_protocol (#253) 2023-02-23 22:16:22 -08:00
valence_protocol Make Ident consistent with vanilla. (#309) 2023-03-25 18:44:45 -07:00
valence_protocol_macros Make Ident consistent with vanilla. (#309) 2023-03-25 18:44:45 -07:00
valence_spatial_index Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
valence_stresser Entity Rework (#294) 2023-03-21 23:29:38 -07:00