mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-13 13:25:16 +00:00
Merge pull request #2381 from PocketMine/revert-2379-master
Revert "Fixed small possible error in permission"
This commit is contained in:
commit
841a3d5ee6
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user