diff --git a/cache/src/main/kotlin/org/openrs2/cache/Archive.kt b/cache/src/main/kotlin/org/openrs2/cache/Archive.kt index a9e48b17..cd3db9bc 100644 --- a/cache/src/main/kotlin/org/openrs2/cache/Archive.kt +++ b/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) } }