Skip to content

Commit 0c8d217

Browse files
committed
Fix MRVersion invalid cache type
1 parent 2631685 commit 0c8d217

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/kotlin/org/sinytra/probe/core/platform/ModrinthPlatform.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class ModrinthPlatform(
225225

226226
val res = downloadVersionFile(ver)
227227
cache.setObject(key, res)
228-
cache.setObject(versionKey(ver.id), res)
228+
cache.setObject(versionKey(ver.id), ver)
229229
res
230230
}
231231
}

0 commit comments

Comments
 (0)