mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 12:48:32 +00:00
Allow Command::getPermissionMessage() to return null (#2057)
This commit is contained in:
parent
2b036b1a5c
commit
bd47852ca4
@ -234,9 +234,9 @@ abstract class Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function getPermissionMessage() : string{
|
public function getPermissionMessage() : ?string{
|
||||||
return $this->permissionMessage;
|
return $this->permissionMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user