default for nbtcompound

This commit is contained in:
mat 2023-03-23 13:54:08 +00:00
parent d08bf9b943
commit 2a07962af9

View file

@ -93,7 +93,7 @@ impl NbtList {
} }
// thanks to Moulberry/Graphite for the idea to use a vec and binary search // thanks to Moulberry/Graphite for the idea to use a vec and binary search
#[derive(Debug, Clone)] #[derive(Debug, Clone, Default)]
pub struct NbtCompound { pub struct NbtCompound {
sorted: bool, sorted: bool,
inner: Vec<(NbtString, Tag)>, inner: Vec<(NbtString, Tag)>,