u forgot dis

This commit is contained in:
minjaesong
2021-08-23 23:04:35 +09:00
parent 3894c5177b
commit dd51cfbe52
2 changed files with 2 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ open class WriteMeta(val ingame: TerrarumIngame) {
ba.forEach {
if (bai > 0 && bai % 4 == 0) {
sb.append(Ascii85.encode(buf[0], buf[1], buf[2], buf[3]))
buf.fill(Ascii85.PAD_BYTE)
}
buf[bai % 4] = it.toInt() and 255

View File

@@ -35,6 +35,7 @@ class WriteWorld {
ba.forEach {
if (bai > 0 && bai % 4 == 0) {
sb.append(Ascii85.encode(buf[0], buf[1], buf[2], buf[3]))
buf.fill(Ascii85.PAD_BYTE)
}
buf[bai % 4] = it.toInt() and 255