Skip to content

Commit ff7bd34

Browse files
committed
Derped when I copied the jar loading code. -Bibl
1 parent 4a7332f commit ff7bd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/the/bytecode/club/bytecodeviewer/plugin/strategies/CompiledJavaPluginLaunchStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static Set<LoadedNodeData> loadData(File jarFile) throws Throwable {
6363
while ((entry = jis.getNextEntry()) != null) {
6464
try {
6565
String name = entry.getName();
66-
if(!name.endsWith(".class")){
66+
if(name.endsWith(".class")){
6767
byte[] bytes = JarUtils.getBytes(jis);
6868
String magic = String.format("%02X", bytes[0]) + String.format("%02X", bytes[1]) + String.format("%02X", bytes[2]) + String.format("%02X", bytes[3]);
6969
if(magic.toLowerCase().equals("cafebabe")) {

0 commit comments

Comments
 (0)