Append the version trailer to the correct buffer

Oops!

Signed-off-by: Graham <gpe@openrs2.org>
Graham 3 years ago
parent d925b68db3
commit 794463febd
  1. 2
      cache/src/main/kotlin/org/openrs2/cache/Archive.kt

@ -101,7 +101,7 @@ public abstract class Archive internal constructor(
entry.digest = compressed.whirlpool()
}
appendVersion(buf, ++entry.version)
appendVersion(compressed, ++entry.version)
writePacked(entry.id, compressed)
}
}

Loading…
Cancel
Save