Skip to content

Commit

Permalink
skip missing descs
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Aug 21, 2024
1 parent e2199b6 commit 3fbad73
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,11 @@ class MappingsProvider(project: Project, minecraft: MinecraftConfig, subKey: Str
val fromMethodName = names[srcName]!!.first
val fromMethodDesc = names[srcName]!!.second
val toMethodName = names[dstName]!!.first
val method = memberOf(fromClassName, fromMethodName, fromMethodDesc!!.toString())
if (fromMethodDesc == null) {
project.logger.info("[Unimined/MappingProvider ${project.path}/${minecraft.sourceSet}] skipping ${fromClassName}.${fromMethodName} as desc is null")
return null
}
val method = memberOf(fromClassName, fromMethodName, fromMethodDesc.toString())
acceptor.acceptMethod(method, toMethodName)
}
return if (remapLocals) {
Expand Down

0 comments on commit 3fbad73

Please sign in to comment.