Fix settings (i hope)

This commit is contained in:
Gabriele C 2015-09-23 22:10:11 +02:00
parent 53f3ad114b
commit 8f446fa6af
2 changed files with 1 additions and 5 deletions

View File

@ -1,7 +1,6 @@
package fr.xephi.authme; package fr.xephi.authme;
import com.earth2me.essentials.Essentials; import com.earth2me.essentials.Essentials;
import com.maxmind.geoip.LookupService;
import com.onarandombox.MultiverseCore.MultiverseCore; import com.onarandombox.MultiverseCore.MultiverseCore;
import fr.xephi.authme.api.API; import fr.xephi.authme.api.API;
import fr.xephi.authme.api.NewAPI; import fr.xephi.authme.api.NewAPI;
@ -119,7 +118,7 @@ public class AuthMe extends JavaPlugin {
// TODO: new configuration style (more files) // TODO: new configuration style (more files)
try { try {
settings = new Settings(this); settings = new Settings(this);
settings.reload(); Settings.reload();
} catch (Exception e) { } catch (Exception e) {
ConsoleLogger.writeStackTrace(e); ConsoleLogger.writeStackTrace(e);
ConsoleLogger.showError("Can't load the configuration file... Something went wrong, to avoid security issues the server will shutdown!"); ConsoleLogger.showError("Can't load the configuration file... Something went wrong, to avoid security issues the server will shutdown!");

View File

@ -10,11 +10,8 @@ import fr.xephi.authme.settings.Settings;
public class ForceFlatToSqlite implements Converter { public class ForceFlatToSqlite implements Converter {
private DataSource data; private DataSource data;
private AuthMe plugin;
public ForceFlatToSqlite(DataSource data, AuthMe plugin) { public ForceFlatToSqlite(DataSource data, AuthMe plugin) {
this.data = data; this.data = data;
this.plugin = plugin;
} }
@Override @Override