mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-03 01:00:18 +01:00
Fix npe with dataManager
This commit is contained in:
parent
7ba37d75c9
commit
2b02f130af
@ -226,6 +226,9 @@ public class AuthMe extends JavaPlugin {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dataManager = new DataManager(this, database);
|
||||||
|
dataManager.start();
|
||||||
|
|
||||||
if (Settings.isCachingEnabled) {
|
if (Settings.isCachingEnabled) {
|
||||||
database = new CacheDataSource(this, database);
|
database = new CacheDataSource(this, database);
|
||||||
}
|
}
|
||||||
@ -291,9 +294,6 @@ public class AuthMe extends JavaPlugin {
|
|||||||
// Start Email recall task if needed
|
// Start Email recall task if needed
|
||||||
recallEmail();
|
recallEmail();
|
||||||
|
|
||||||
dataManager = new DataManager(this, database);
|
|
||||||
dataManager.start();
|
|
||||||
|
|
||||||
// Sponsor message
|
// 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] 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 ! ");
|
ConsoleLogger.info("[SPONSOR] Look Minecraft and other offers on www.verygames.net ! ");
|
||||||
|
Loading…
Reference in New Issue
Block a user