mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-01 21:11:44 +01:00
Fix compilation, unreachable code.
This commit is contained in:
parent
40f03295a1
commit
b6648ad9bd
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user