mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Static ALL the things!
This commit is contained in:
@ -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);
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user