mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-08-05 03:54:57 +00:00
Don't grab sub-classes
This commit is contained in:
parent
b8de529b25
commit
3db1f06402
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ public class ClassGetter {
|
||||||
} else {
|
} else {
|
||||||
System.out.println("Not sure how you got here: " + resource.getPath());
|
System.out.println("Not sure how you got here: " + resource.getPath());
|
||||||
for (File f : new File(resource.getPath() + "/" + pkgname.replace(".", "/")).listFiles()) {
|
for (File f : new File(resource.getPath() + "/" + pkgname.replace(".", "/")).listFiles()) {
|
||||||
if (!f.getName().endsWith(".class")) {
|
if (!f.getName().endsWith(".class") || f.getName().contains("$")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue