aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-03-23 13:54:08 +0000
committermat <github@matdoes.dev>2023-03-23 13:54:08 +0000
commit2a07962af9a318114f38d3afe748a05212cfbd59 (patch)
tree6e3bfa2fcf6bf1137a92597a296b353206f19585
parentd08bf9b943a6578990668f7f073309f3bb9678ab (diff)
downloadazalea-drasl-2a07962af9a318114f38d3afe748a05212cfbd59.tar.xz
default for nbtcompound
-rwxr-xr-xazalea-nbt/src/tag.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-nbt/src/tag.rs b/azalea-nbt/src/tag.rs
index fb44c559..7e4c5e25 100755
--- a/azalea-nbt/src/tag.rs
+++ b/azalea-nbt/src/tag.rs
@@ -93,7 +93,7 @@ impl NbtList {
}
// thanks to Moulberry/Graphite for the idea to use a vec and binary search
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, Default)]
pub struct NbtCompound {
sorted: bool,
inner: Vec<(NbtString, Tag)>,