File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
loader/src/main/kotlin/net/weavemc/loader/impl Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public object InjectionHandler : SafeTransformer {
84
84
85
85
nsOrder.windowed(2 ).forEach { (last, curr) ->
86
86
node.remap(last, curr)
87
- groupedModifiers.getValue( curr) .forEach { it.apply (node, hookConfig) }
87
+ groupedModifiers[ curr]? .forEach { it.apply (node, hookConfig) }
88
88
}
89
89
90
90
val classWriter = InjectionClassWriter (hookConfig.classWriterFlags, classReader)
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ public object ApplicationWrapper {
98
98
}
99
99
}
100
100
101
- private class WrappingLoader : URLClassLoader (emptyArray(), getSystemClassLoader()) {
102
- override fun loadClass (name : String , resolve : Boolean ) =
101
+ public class WrappingLoader : URLClassLoader (emptyArray(), getSystemClassLoader()) {
102
+ override fun loadClass (name : String , resolve : Boolean ): Class < * > =
103
103
findClass(name).also { if (resolve) resolveClass(it) }
104
104
105
105
override fun findClass (name : String ): Class <* > {
You can’t perform that action at this time.
0 commit comments