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 b72a4ef99e..0c0b57aaa3 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt @@ -27,7 +27,7 @@ public class CacheExporter @Inject constructor( val validKeys: Long, val keys: Long ) { - public val allIndexesValid: Boolean = indexes == validIndexes + public val allIndexesValid: Boolean = indexes == validIndexes && indexes != 0L public val validIndexesFraction: Double = if (indexes == 0L) { 1.0 } else {