Fixed undesirable FlatFileStuff access with MySQL enabled

This commit is contained in:
bm01 2012-04-28 11:40:23 +02:00
parent 7d17bd7dd1
commit 2fad8f2ad7

View File

@ -9,10 +9,10 @@ import com.gmail.nossr50.mcMMO;
public abstract class ConfigLoader {
protected static File configFile;
protected static File dataFolder;
protected File configFile;
protected File dataFolder;
protected final mcMMO plugin;
protected static FileConfiguration config;
protected FileConfiguration config;
public ConfigLoader(mcMMO plugin, String fileName){
this.plugin = plugin;
@ -28,7 +28,7 @@ public abstract class ConfigLoader {
/**
* Save this config file.
*/
private static void saveConfig() {
private void saveConfig() {
try {
config.save(configFile);
}