mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-23 14:53:26 +02:00
Fix compilation, unreachable code.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user