diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandtpall.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtpall.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java index 86311cd2e..7892fb345 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java @@ -50,11 +50,7 @@ public class Commandtpall extends EssentialsCommand } catch (Exception ex) { - sender.sendMessage(Util.format("errorWithMessage", ex.getMessage())); - if (ess.getSettings().isDebug()) - { - logger.log(Level.WARNING, ex.getMessage(), ex); - } + ess.showError(sender, ex, getName()); } } } |