summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-27 19:54:23 +0200
committer zaaarf <zaaarf@proton.me>2023-03-27 19:54:23 +0200
commitac4ce489b7d3effb139d14b5872eb0c493397e4f (patch)
tree0667be2bad561942710b01178ec651e3cca5485a /src
parent10b5d9e09e4cd9653ff84c3e8fbf5bec92bb7b96 (diff)
fix: misuse of asm type function
Diffstat (limited to 'src')
-rw-r--r--src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java b/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java
index 67100ac..5782609 100644
--- a/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java
+++ b/src/main/java/ftbsc/lll/proxies/impl/TypeProxy.java
@@ -74,7 +74,7 @@ public class TypeProxy extends QualifiableProxy {
* @return the built {@link TypeProxy}
*/
public static TypeProxy from(String fqn, int arrayLevel, int modifiers) {
- return from(Type.getObjectType(nameToDescriptor(fqn, arrayLevel)), modifiers);
+ return from(Type.getType(nameToDescriptor(fqn, arrayLevel)), modifiers);
}
/**