mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
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
|
||||
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");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user