diff --git a/src/main/java/matcher/srcprocess/Fernflower.java b/src/main/java/matcher/srcprocess/Fernflower.java index fb39c473..d3d37f93 100644 --- a/src/main/java/matcher/srcprocess/Fernflower.java +++ b/src/main/java/matcher/srcprocess/Fernflower.java @@ -147,7 +147,7 @@ public StructClass getClass(String name) { if (ret != null) return ret; ClassInstance cls = env.getClsByName(name, nameType); - if (cls == null) return null; + if (cls == null || !cls.isReal()) return null; try { return addStructClass(cls, false);