Ensure a directory is created for the ARCHIVESET archive

Signed-off-by: Graham <gpe@openrs2.org>
Graham 3 years ago
parent 36f5efa1ad
commit 3848a89f68
  1. 2
      archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt

@ -333,6 +333,8 @@ public class CacheExporter @Inject constructor(
stmt.executeQuery().use { rows -> stmt.executeQuery().use { rows ->
alloc.buffer(2, 2).use { versionBuf -> alloc.buffer(2, 2).use { versionBuf ->
store.create(Js5Archive.ARCHIVESET)
while (rows.next()) { while (rows.next()) {
val archive = rows.getInt(1) val archive = rows.getInt(1)
val group = rows.getInt(2) val group = rows.getInt(2)

Loading…
Cancel
Save