We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23c15b2 commit 83f05ddCopy full SHA for 83f05dd
src/main/kotlin/com/lambda/util/DynamicReflectionSerializer.kt
@@ -81,6 +81,12 @@ object DynamicReflectionSerializer : Loadable {
81
82
private val qualifiedMappings = runBlocking {
83
cache.resolveFile(LambdaAPI.gameVersion)
84
+ .also {
85
+ if (!it.readText().contains("net.minecraft.client.MinecraftClient")) {
86
+ LOG.debug("Re-downloading yarn mappings as the current cache is improperly generated")
87
+ it.delete()
88
+ }
89
90
.downloadIfNotPresent("${LambdaAPI.mappings}/${LambdaAPI.gameVersion}")
91
.map(::buildMappingsMap)
92
.getOrElse {
0 commit comments