diff options
-rw-r--r-- | src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java b/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java index 0e47842..3ea6a62 100644 --- a/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java +++ b/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java @@ -126,6 +126,7 @@ public class ClassContainer { * @since 0.5.0 */ public static ClassContainer findOrFallback(ClassContainer fallback, Find f, ProcessingEnvironment env, ObfuscationMapper mapper) { + if(f == null) return fallback; ClassContainer cl = ClassContainer.from(f, Find::value, f.className(), env, mapper); return cl.fqn.equals("java.lang.Object") ? fallback |