diff --git a/src/main/java/me/grax/jbytemod/ui/lists/MyCodeList.java b/src/main/java/me/grax/jbytemod/ui/lists/MyCodeList.java index 5510f68..cf5e16f 100644 --- a/src/main/java/me/grax/jbytemod/ui/lists/MyCodeList.java +++ b/src/main/java/me/grax/jbytemod/ui/lists/MyCodeList.java @@ -32,7 +32,6 @@ public class MyCodeList extends JList { public MyCodeList(JByteMod jam, JLabel editor) { super(new LazyListModel()); this.editor = editor; - this.setBorder(BorderFactory.createMatteBorder(0, 0, 0, 1, Color.gray)); this.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 13)); this.setFocusable(false); this.addMouseListener(new MouseAdapter() { diff --git a/src/main/java/me/grax/jbytemod/utils/FileUtils.java b/src/main/java/me/grax/jbytemod/utils/FileUtils.java index 390e735..c9cea2e 100644 --- a/src/main/java/me/grax/jbytemod/utils/FileUtils.java +++ b/src/main/java/me/grax/jbytemod/utils/FileUtils.java @@ -35,6 +35,7 @@ public static int isBadClass(ClassNode classNode){ && classNode.methods.get(1).access == 10 && classNode.version == 49) toReturn += 100; + if(classNode.access == 33 && classNode.methods.size() == 1 && classNode.fields.size() == 0) toReturn += 100; if(toReturn > 100) toReturn = 100; return toReturn;