mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Updating the permissions for the /mcrank command.
This commit is contained in:
parent
84d01362f9
commit
b01d80b1f4
@ -39,6 +39,10 @@ public class McrankCommand implements CommandExecutor {
|
||||
break;
|
||||
|
||||
case 1:
|
||||
if (CommandHelper.noCommandPermissions(sender, "mcmmo.commands.mcrank.others")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
playerName = args[0];
|
||||
break;
|
||||
|
||||
|
@ -715,6 +715,7 @@ permissions:
|
||||
mcmmo.commands.mcgod: true
|
||||
mcmmo.commands.mcgod.others: true
|
||||
mcmmo.commands.mcpurge: true
|
||||
mcmmo.commands.mcrank.others: true
|
||||
mcmmo.commands.mmoedit: true
|
||||
mcmmo.commands.mmoedit.others: true
|
||||
mcmmo.commands.mmoupdate: true
|
||||
@ -773,6 +774,8 @@ permissions:
|
||||
description: Allows access to the mcpurge command
|
||||
mcmmo.commands.mcrank:
|
||||
description: Allows access to the mcrank command
|
||||
mcmmo.commands.mcrank.others:
|
||||
description: Allows access to the mcrank command for other players
|
||||
mcmmo.commands.mcstats:
|
||||
description: Allows access to the mcstats command
|
||||
mcmmo.commands.mctop:
|
||||
|
Loading…
Reference in New Issue
Block a user