aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
/**