mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Revert "Fixed small possible error in permission"
This commit is contained in:
parent
5373e6be07
commit
a5294d5ec7
@ -34,7 +34,7 @@ class DeopCommand extends VanillaCommand{
|
||||
"Takes the specified player's operator status",
|
||||
"/deop <player>"
|
||||
);
|
||||
$this->setPermission("pocketmine.command.deop");
|
||||
$this->setPermission("pocketmine.command.op.take");
|
||||
}
|
||||
|
||||
public function execute(CommandSender $sender, $currentAlias, array $args){
|
||||
@ -59,4 +59,4 @@ class DeopCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user