mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-23 23:03:05 +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"))
|
&& !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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user