mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-14 01:04:28 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60d44f3c7b | ||
|
|
6209831d08 | ||
|
|
7ae8b15810 |
@@ -116,6 +116,7 @@ public class ClassDiscoverer {
|
||||
while (zipEntries.hasMoreElements()) {
|
||||
ZipEntry zipentry = zipEntries.nextElement();
|
||||
String fullname = zipentry.getName().replace('\\', '/');
|
||||
if (fullname.startsWith("META-INF/versions/")) continue;
|
||||
int pos = fullname.lastIndexOf('/');
|
||||
String name = pos == -1 ? fullname : fullname.substring(pos + 1);
|
||||
if (!zipentry.isDirectory() && matcher.matches(name)) {
|
||||
|
||||
Reference in new issue
Block a user