mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Merge pull request #2379 from sudoku173/master
Fixed small possible error in permission
This commit is contained in:
commit
5373e6be07
@ -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.op.take");
|
$this->setPermission("pocketmine.command.deop");
|
||||||
}
|
}
|
||||||
|
|
||||||
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