diff options
Diffstat (limited to 'azalea-nbt/src/encode.rs')
| -rwxr-xr-x | azalea-nbt/src/encode.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea-nbt/src/encode.rs b/azalea-nbt/src/encode.rs index 49c31192..87464fd9 100755 --- a/azalea-nbt/src/encode.rs +++ b/azalea-nbt/src/encode.rs @@ -193,6 +193,10 @@ impl Tag { write_compound(writer, value, false)?; Ok(()) } + Tag::End => { + 0u8.write_into(writer)?; + Ok(()) + } _ => Err(Error::InvalidTag), } } |
