mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-12 08:17:42 +00:00
Skip MR class files (#49)
This commit is contained in:
1 parent
6209831d08
commit
60d44f3c7b
1 file changed
+1
@@ -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