diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-06-07 03:03:56 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-06-07 03:03:56 +0200 |
commit | 996670c4076e3c5cf42d05968d32712434375f18 (patch) | |
tree | 96ac7fae0559c456f61eada8fb302947cf60c10b /serialize.fmt | |
parent | 65f194b07aab6e757f6efbbb5479f1a5a6ad8d4e (diff) | |
download | mt-996670c4076e3c5cf42d05968d32712434375f18.tar.xz |
Fix mapblock compression
Diffstat (limited to 'serialize.fmt')
-rw-r--r-- | serialize.fmt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/serialize.fmt b/serialize.fmt index 1095c92..0b42037 100644 --- a/serialize.fmt +++ b/serialize.fmt @@ -45,8 +45,6 @@ AOMsg writeAOMsg(w, x) image/color.NRGBA w.Write([]byte{x.A, x.R, x.G, x.B}) map[uint16]*NodeMeta { - w := zlib.NewWriter(w) - if x == nil { write8(w, 0) } else { @@ -80,8 +78,6 @@ map[uint16]*NodeMeta { chk(serialize(w, x[key])) } } - - chk(w.Close()) } map[[3]int16]*NodeMeta { |