aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-03-14 01:22:15 -0500
committermat <github@matdoes.dev>2023-03-14 01:22:15 -0500
commitaa846bc0270d3f0974cfb27ac5057dbf9c08748b (patch)
tree639d46f6036337033d8b50c883ef6259b9aefb87 /azalea-client/src
parent1ff24959627d03d7b2491ad3111d270ef128a4be (diff)
downloadazalea-drasl-aa846bc0270d3f0974cfb27ac5057dbf9c08748b.tar.xz
make ResourceLocation::new -> Self and impl Serialize/Deserialize for ResourceLocation
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/packet_handling.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs
index a75f2760..1a75998b 100644
--- a/azalea-client/src/packet_handling.rs
+++ b/azalea-client/src/packet_handling.rs
@@ -265,7 +265,7 @@ fn process_packet_events(ecs: &mut World) {
// brand
local_player.write_packet(
ServerboundCustomPayloadPacket {
- identifier: ResourceLocation::new("brand").unwrap(),
+ identifier: ResourceLocation::new("brand"),
// they don't have to know :)
data: "vanilla".into(),
}