diff options
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/command/LimboAuthCommand.java')
-rw-r--r-- | src/main/java/net/elytrium/limboauth/command/LimboAuthCommand.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main/java/net/elytrium/limboauth/command/LimboAuthCommand.java b/src/main/java/net/elytrium/limboauth/command/LimboAuthCommand.java index 669a978..b4587b4 100644 --- a/src/main/java/net/elytrium/limboauth/command/LimboAuthCommand.java +++ b/src/main/java/net/elytrium/limboauth/command/LimboAuthCommand.java @@ -100,14 +100,8 @@ public class LimboAuthCommand implements SimpleCommand { Serializer serializer = LimboAuth.getSerializer(); if (argsAmount == 1) { if (command.equalsIgnoreCase("reload") && source.hasPermission("limboauth.admin.reload")) { - try { - this.plugin.reload(); - source.sendMessage(serializer.deserialize(Settings.IMP.MAIN.STRINGS.RELOAD)); - } catch (Exception e) { - e.printStackTrace(); - source.sendMessage(serializer.deserialize(Settings.IMP.MAIN.STRINGS.RELOAD_FAILED)); - } - + this.plugin.reload(); + source.sendMessage(serializer.deserialize(Settings.IMP.MAIN.STRINGS.RELOAD)); return; } /* |