Make it static.

This commit is contained in:
GJ 2012-06-05 11:05:44 -04:00
parent 71446a12af
commit 1d7d2cd52e
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ public class mcMMO extends JavaPlugin {
public static RepairManager repairManager;
/* Jar Stuff */
public File mcmmo;
public static File mcmmo;
//File Paths
public static String mainDirectory;

View File

@ -54,8 +54,8 @@ public class SpoutStuff {
private static void writeFile(String theFileName, String theFilePath) {
try {
File currentFile = new File(theFilePath + theFileName);
JarFile jar = new JarFile(plugin.mcmmo);
JarFile jar = new JarFile(mcMMO.mcmmo);
JarEntry entry = jar.getJarEntry("resources/" + theFileName);
InputStream is = jar.getInputStream(entry);