mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Yay generation uses async tasks
This commit is contained in:
@ -168,7 +168,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
public function close(Player $player, $reason = "unknown reason"){
|
||||
if(isset($this->identifiers[$player])){
|
||||
unset($this->players[$this->identifiers[$player]]);
|
||||
unset($this->batchedPackets[$identifier]);
|
||||
unset($this->batchedPackets[$this->identifiers[$player]]);
|
||||
unset($this->identifiersACK[$this->identifiers[$player]]);
|
||||
$this->interface->closeSession($this->identifiers[$player], $reason);
|
||||
$this->identifiers->detach($player);
|
||||
|
Reference in New Issue
Block a user