From 3848a89f6829125963b58e6c21d2cc48a27925bc Mon Sep 17 00:00:00 2001 From: Graham Date: Wed, 1 Sep 2021 12:07:46 +0100 Subject: [PATCH] Ensure a directory is created for the ARCHIVESET archive Signed-off-by: Graham --- .../src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt index a4c24d6a..a24ccafb 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt @@ -333,6 +333,8 @@ public class CacheExporter @Inject constructor( stmt.executeQuery().use { rows -> alloc.buffer(2, 2).use { versionBuf -> + store.create(Js5Archive.ARCHIVESET) + while (rows.next()) { val archive = rows.getInt(1) val group = rows.getInt(2)