mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
TimingsCommand: fix missing type information for async task local storage
This commit is contained in:
parent
c3fabe833e
commit
376926c700
@ -151,6 +151,7 @@ class TimingsCommand extends VanillaCommand{
|
||||
}
|
||||
|
||||
public function onCompletion(Server $server){
|
||||
/** @var CommandSender $sender */
|
||||
$sender = $this->fetchLocal();
|
||||
if($sender instanceof Player and !$sender->isOnline()){ // TODO replace with a more generic API method for checking availability of CommandSender
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user