diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtempban.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java b/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java index 291efd02d..f1d91d2ac 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java @@ -21,9 +21,10 @@ public class Commandtempban extends EssentialsCommand throw new NotEnoughArgumentsException(); } final User player = getPlayer(server, args, 0, true); - if(player.isAuthorized("essentials.tempban.exempt")) + if (player.isAuthorized("essentials.tempban.exempt")) { sender.sendMessage(Util.i18n("tempbanExempt")); + return; } final String time = getFinalArg(args, 1); final long banTimestamp = Util.parseDateDiff(time, true); |