summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}
/**