mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
u forgot dis
This commit is contained in:
@@ -92,6 +92,7 @@ open class WriteMeta(val ingame: TerrarumIngame) {
|
|||||||
ba.forEach {
|
ba.forEach {
|
||||||
if (bai > 0 && bai % 4 == 0) {
|
if (bai > 0 && bai % 4 == 0) {
|
||||||
sb.append(Ascii85.encode(buf[0], buf[1], buf[2], buf[3]))
|
sb.append(Ascii85.encode(buf[0], buf[1], buf[2], buf[3]))
|
||||||
|
buf.fill(Ascii85.PAD_BYTE)
|
||||||
}
|
}
|
||||||
|
|
||||||
buf[bai % 4] = it.toInt() and 255
|
buf[bai % 4] = it.toInt() and 255
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ class WriteWorld {
|
|||||||
ba.forEach {
|
ba.forEach {
|
||||||
if (bai > 0 && bai % 4 == 0) {
|
if (bai > 0 && bai % 4 == 0) {
|
||||||
sb.append(Ascii85.encode(buf[0], buf[1], buf[2], buf[3]))
|
sb.append(Ascii85.encode(buf[0], buf[1], buf[2], buf[3]))
|
||||||
|
buf.fill(Ascii85.PAD_BYTE)
|
||||||
}
|
}
|
||||||
|
|
||||||
buf[bai % 4] = it.toInt() and 255
|
buf[bai % 4] = it.toInt() and 255
|
||||||
|
|||||||
Reference in New Issue
Block a user