Allow moderators to use the IP command
https://github.com/ElasticPortalSuite/BungeeCord/issues/89 Stated on DBO as a mod+ command
This commit is contained in:
parent
d622041d45
commit
608ca78be1
@ -11,7 +11,7 @@ public class CommandIP extends Command
|
|||||||
@Override
|
@Override
|
||||||
public void execute(CommandSender sender, String[] args)
|
public void execute(CommandSender sender, String[] args)
|
||||||
{
|
{
|
||||||
if (getPermission(sender) != Permission.ADMIN)
|
if (getPermission(sender) != Permission.MODERATOR && getPermission(sender) != Permission.ADMIN)
|
||||||
{
|
{
|
||||||
sender.sendMessage(ChatColor.RED + "You do not have permission to use this command");
|
sender.sendMessage(ChatColor.RED + "You do not have permission to use this command");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user