From d925b68db30d036a2b8a3bf11753355e4283f0ff Mon Sep 17 00:00:00 2001 From: Graham Date: Wed, 16 Jun 2021 22:11:19 +0100 Subject: [PATCH] Remove duplicate keys from valid.json Signed-off-by: Graham --- archive/src/main/kotlin/org/openrs2/archive/key/KeyExporter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive/src/main/kotlin/org/openrs2/archive/key/KeyExporter.kt b/archive/src/main/kotlin/org/openrs2/archive/key/KeyExporter.kt index 32b0ad62..d5b8a593 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/key/KeyExporter.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/key/KeyExporter.kt @@ -150,7 +150,7 @@ public class KeyExporter @Inject constructor( """.trimIndent() private val EXPORT_VALID_QUERY = """ - SELECT (k.key).k0, (k.key).k1, (k.key).k2, (k.key).k3 + SELECT DISTINCT (k.key).k0, (k.key).k1, (k.key).k2, (k.key).k3 FROM keys k JOIN containers c ON c.key_id = k.id ORDER BY k.id ASC