Democre

snippet for Episode 2

May 8th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1.             //...
  2.             //insert the following snippet to make the errors go away
  3.             //this effectively shortcuts this method and returns without trying to process the classes jar
  4.             //caveat: if for some reason you have any mod archive on the classpath that ends in classes.jar,
  5.             // it will skip that too
  6.             if(jar.getName().endsWith("classes.jar"))
  7.             {
  8.                 return foundMods;
  9.             }
  10.             //... /end snippet
Advertisement
Add Comment
Please, Sign In to add comment