summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/ftbsc/lll/processor/tools/containers/FieldContainer.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/processor/tools/containers/FieldContainer.java b/src/main/java/ftbsc/lll/processor/tools/containers/FieldContainer.java
index 7dda102..555f113 100644
--- a/src/main/java/ftbsc/lll/processor/tools/containers/FieldContainer.java
+++ b/src/main/java/ftbsc/lll/processor/tools/containers/FieldContainer.java
@@ -100,7 +100,10 @@ public class FieldContainer {
if(fieldType.getKind() == TypeKind.DECLARED)
descriptor = //jank af but this is temporary anyway
"L" + new ClassContainer(
- fieldType.toString(), f.typeInner().split("//$"), env, mapper
+ fieldType.toString(),
+ f.typeInner().equals("") ? null : f.typeInner().split("//$"),
+ env,
+ mapper
).fqn.replace('.', '/') + ";";
else descriptor = descriptorFromType(fieldType);
}