mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-08 16:31:58 +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"))
|
&& !ess.getUser(sender).isAuthorized("essentials.ban.offline"))
|
||||||
{
|
{
|
||||||
throw new Exception(_("banExempt"));
|
throw new Exception(_("banExempt"));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -50,7 +49,6 @@ public class Commandban extends EssentialsCommand
|
|||||||
if (user.isAuthorized("essentials.ban.exempt") && sender instanceof Player)
|
if (user.isAuthorized("essentials.ban.exempt") && sender instanceof Player)
|
||||||
{
|
{
|
||||||
throw new Exception(_("banExempt"));
|
throw new Exception(_("banExempt"));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user