diff --git a/src/main/java/blue/lapis/nocturne/gui/scene/text/SelectableMember.java b/src/main/java/blue/lapis/nocturne/gui/scene/text/SelectableMember.java index 5f981eb..e9039d3 100644 --- a/src/main/java/blue/lapis/nocturne/gui/scene/text/SelectableMember.java +++ b/src/main/java/blue/lapis/nocturne/gui/scene/text/SelectableMember.java @@ -266,7 +266,7 @@ public SelectableMember(CodeTab codeTab, MemberType type, String name, String de updateText(); Optional mapping = getMapping(); - setDeobfuscated(!getName().equals(fullName) || (mapping.isPresent() && mapping.get().isAdHoc())); + setDeobfuscated((fullName != null && !getName().equals(fullName)) || (mapping.isPresent() && mapping.get().isAdHoc())); } private String getClassName() {