mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-07 04:38:03 +02:00
Fix npe with dataManager
This commit is contained in:
parent
7ba37d75c9
commit
2b02f130af
@ -226,6 +226,9 @@ public class AuthMe extends JavaPlugin {
|
||||
break;
|
||||
}
|
||||
|
||||
dataManager = new DataManager(this, database);
|
||||
dataManager.start();
|
||||
|
||||
if (Settings.isCachingEnabled) {
|
||||
database = new CacheDataSource(this, database);
|
||||
}
|
||||
@ -291,9 +294,6 @@ public class AuthMe extends JavaPlugin {
|
||||
// Start Email recall task if needed
|
||||
recallEmail();
|
||||
|
||||
dataManager = new DataManager(this, database);
|
||||
dataManager.start();
|
||||
|
||||
// Sponsor message
|
||||
ConsoleLogger.info("[SPONSOR] AuthMe is sponsored and hook perfectly with server hosting VERYGAMES, rent your server for only 1.99$/months");
|
||||
ConsoleLogger.info("[SPONSOR] Look Minecraft and other offers on www.verygames.net ! ");
|
||||
|
Loading…
Reference in New Issue
Block a user