Merge pull request #2381 from PocketMine/revert-2379-master

Revert "Fixed small possible error in permission"
This commit is contained in:
Shoghi Cervantes 2014-12-07 20:54:46 +01:00
commit 841a3d5ee6

View File

@ -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;
} }
} }