diff --git a/src/com/redstoner/modules/loginsecurity/LoginSecurity.java b/src/com/redstoner/modules/loginsecurity/LoginSecurity.java index 3a3d3d0..890ad18 100644 --- a/src/com/redstoner/modules/loginsecurity/LoginSecurity.java +++ b/src/com/redstoner/modules/loginsecurity/LoginSecurity.java @@ -48,6 +48,7 @@ public class LoginSecurity implements Module, Listener Utils.sendErrorMessage(Bukkit.getConsoleSender(), null, "Could not load the LoginSecurity config file, disabling!"); enabled = false; + return; } try { @@ -62,6 +63,7 @@ public class LoginSecurity implements Module, Listener Utils.sendErrorMessage(Bukkit.getConsoleSender(), null, "Could not use the LoginSecurity config, disabling!"); enabled = false; + return; } loggingIn = new HashMap<>(); Bukkit.getServer().getPluginManager().registerEvents(new CancelledEventsHandler(this), Main.plugin);