Fix compilation, unreachable code.

This commit is contained in:
Chris Ward 2013-02-10 20:37:46 +11:00
parent 40f03295a1
commit b6648ad9bd

View File

@ -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;
}
}