Static ALL the things!

This commit is contained in:
GJ
2012-06-05 10:42:40 -04:00
parent ca6cafaebd
commit 71446a12af
21 changed files with 47 additions and 56 deletions

View File

@ -17,7 +17,7 @@ public class SQLConversionTask implements Runnable {
@Override
public void run() {
String location = plugin.usersFile;
String location = mcMMO.usersFile;
try {
FileReader file = new FileReader(location);

View File

@ -17,14 +17,14 @@ public class SpoutStart implements Runnable{
@Override
public void run() {
if (plugin.getServer().getPluginManager().getPlugin("Spout") != null) {
plugin.spoutEnabled = true;
mcMMO.spoutEnabled = true;
}
else {
plugin.spoutEnabled = false;
mcMMO.spoutEnabled = false;
}
//Spout Stuff
if (plugin.spoutEnabled) {
if (mcMMO.spoutEnabled) {
SpoutConfig.getInstance();
SpoutStuff.setupSpoutConfigs();
SpoutStuff.registerCustomEvent();