Skip to content

Commit 269e06b

Browse files
committed
Fix error
1 parent 55b555f commit 269e06b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/command/sub/PermCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ protected function prepare() : void{
1818
$this->registerArgument(0, new class("permission") extends StringEnumArgument{
1919
protected const VALUES = ["default" => "default", "op" => "op", "everyone" => "everyone"];
2020
public function getTypeName() : string{ return "string"; }
21+
public function getEnumName() : string{ return "permission"; }
2122
public function parse(string $argument, CommandSender $sender) : mixed{ return $this->getValue($argument); }
2223
});
2324
}

0 commit comments

Comments
 (0)