mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-17 07:45:10 +01:00
Fix NPE from ConsoleLogger
if plugin could not load configuration.
This commit is contained in:
parent
408e8dd0dd
commit
e06c5e7309
@ -215,7 +215,7 @@ public class AuthMe extends JavaPlugin {
|
||||
// Load settings and custom configurations, if it fails, stop the server due to security reasons.
|
||||
newSettings = createNewSetting();
|
||||
if (newSettings == null) {
|
||||
ConsoleLogger.showError("Could not load configuration. Aborting.");
|
||||
getLogger().warning("Could not load configuration. Aborting.");
|
||||
getServer().shutdown();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user