diff options
| author | mat <github@matdoes.dev> | 2022-05-03 00:33:32 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-03 00:33:32 -0500 |
| commit | 0bd798045c4328208667df37348e9affb37e384f (patch) | |
| tree | 241fbc2b738b2a47cd6220bb07beb450c7359ab4 /azalea-nbt/src | |
| parent | 8e42e1c5dfc54314585b564696044780e0407c2f (diff) | |
| download | azalea-drasl-0bd798045c4328208667df37348e9affb37e384f.tar.xz | |
more azalea-world stuff
Diffstat (limited to 'azalea-nbt/src')
| -rwxr-xr-x | azalea-nbt/src/tag.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/azalea-nbt/src/tag.rs b/azalea-nbt/src/tag.rs index 61bd15ba..e2df08f7 100755 --- a/azalea-nbt/src/tag.rs +++ b/azalea-nbt/src/tag.rs @@ -17,6 +17,12 @@ pub enum Tag { LongArray(Vec<i64>), // 12 } +impl Default for Tag { + fn default() -> Self { + Tag::End + } +} + impl Tag { #[inline] pub fn id(&self) -> u8 { |
