mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Merge pull request #2381 from PocketMine/revert-2379-master
Revert "Fixed small possible error in permission"
This commit is contained in:
@@ -34,7 +34,7 @@ class DeopCommand extends VanillaCommand{
|
|||||||
"Takes the specified player's operator status",
|
"Takes the specified player's operator status",
|
||||||
"/deop <player>"
|
"/deop <player>"
|
||||||
);
|
);
|
||||||
$this->setPermission("pocketmine.command.deop");
|
$this->setPermission("pocketmine.command.op.take");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(CommandSender $sender, $currentAlias, array $args){
|
public function execute(CommandSender $sender, $currentAlias, array $args){
|
||||||
@@ -59,4 +59,4 @@ class DeopCommand extends VanillaCommand{
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user