Remove duplicate keys from valid.json

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 3 years ago
parent 2e5fbe7ed7
commit d925b68db3
  1. 2
      archive/src/main/kotlin/org/openrs2/archive/key/KeyExporter.kt

@ -150,7 +150,7 @@ public class KeyExporter @Inject constructor(
""".trimIndent() """.trimIndent()
private val EXPORT_VALID_QUERY = """ 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 FROM keys k
JOIN containers c ON c.key_id = k.id JOIN containers c ON c.key_id = k.id
ORDER BY k.id ASC ORDER BY k.id ASC

Loading…
Cancel
Save