aboutsummaryrefslogtreecommitdiff
path: root/azalea-registry/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-registry/src
parent1ff24959627d03d7b2491ad3111d270ef128a4be (diff)
downloadazalea-drasl-aa846bc0270d3f0974cfb27ac5057dbf9c08748b.tar.xz
make ResourceLocation::new -> Self and impl Serialize/Deserialize for ResourceLocation
Diffstat (limited to 'azalea-registry/src')
-rwxr-xr-xazalea-registry/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-registry/src/lib.rs b/azalea-registry/src/lib.rs
index 075226b2..05fee61d 100755
--- a/azalea-registry/src/lib.rs
+++ b/azalea-registry/src/lib.rs
@@ -5,9 +5,10 @@
// auto-generated (so you can add doc comments to the registry enums if you
// want)
+use std::io::{Cursor, Write};
+
use azalea_buf::{BufReadError, McBufReadable, McBufVarReadable, McBufVarWritable, McBufWritable};
use azalea_registry_macros::registry;
-use std::io::{Cursor, Write};
pub trait Registry
where