Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //...
- //insert the following snippet to make the errors go away
- //this effectively shortcuts this method and returns without trying to process the classes jar
- //caveat: if for some reason you have any mod archive on the classpath that ends in classes.jar,
- // it will skip that too
- if(jar.getName().endsWith("classes.jar"))
- {
- return foundMods;
- }
- //... /end snippet
Advertisement
Add Comment
Please, Sign In to add comment