mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added base translation system
This commit is contained in:
@ -117,7 +117,9 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
unset($this->players[$identifier]);
|
||||
unset($this->batchedPackets[$identifier]);
|
||||
unset($this->identifiersACK[$identifier]);
|
||||
$player->close(TextFormat::YELLOW . $player->getName() . " has left the game", $reason);
|
||||
if(!$player->closed){
|
||||
$player->close($player->getLeaveMessage(), $reason);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user