Skip to content

Commit

Permalink
getObjectType
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed May 10, 2024
1 parent 34b6317 commit 0f6b90a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ abstract class ShadeAPI @Inject constructor(@Internal val jvmdg: JVMDowngraderEx
strippedClasses.add(Type.getObjectType(inputNode.name))
} else {
// field
val inputNode = apiClasses[Type.getType(part.substringBefore("."))]!!
val inputNode = apiClasses[Type.getObjectType(part.substringBefore("."))]!!
val name = part.substringAfter(".")
// copy this field
val field = inputNode.fields.first { it.name == name }
Expand Down

0 comments on commit 0f6b90a

Please sign in to comment.