summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ward <chris@chrisgward.com>2013-02-10 20:37:46 +1100
committerChris Ward <chris@chrisgward.com>2013-02-10 20:37:46 +1100
commit6d05a00331c4f5f5bd1597b326d33080d7e6ac51 (patch)
treeac49649d3912f0f365612ae37a2c1cb19c375fa8
parent1d7ee07e998b6b0a63843adcfcd462f5c19dd89b (diff)
downloadEssentials-6d05a00331c4f5f5bd1597b326d33080d7e6ac51.tar
Essentials-6d05a00331c4f5f5bd1597b326d33080d7e6ac51.tar.gz
Essentials-6d05a00331c4f5f5bd1597b326d33080d7e6ac51.tar.lz
Essentials-6d05a00331c4f5f5bd1597b326d33080d7e6ac51.tar.xz
Essentials-6d05a00331c4f5f5bd1597b326d33080d7e6ac51.zip
Fix compilation, unreachable code.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandban.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandban.java b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
index 3523499fe..a8ad1753f 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandban.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
@@ -42,7 +42,6 @@ public class Commandban extends EssentialsCommand
&& !ess.getUser(sender).isAuthorized("essentials.ban.offline"))
{
throw new Exception(_("banExempt"));
- return;
}
}
else
@@ -50,7 +49,6 @@ public class Commandban extends EssentialsCommand
if (user.isAuthorized("essentials.ban.exempt") && sender instanceof Player)
{
throw new Exception(_("banExempt"));
- return;
}
}