don't send double disconnect messages

This commit is contained in:
Dylan K. Taylor 2019-06-18 16:22:41 +01:00
parent 709963f90a
commit 075f49aef0

View File

@ -2344,13 +2344,6 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
}
$this->save();
$this->server->getLogger()->info($this->getServer()->getLanguage()->translateString("pocketmine.player.logOut", [
TextFormat::AQUA . $this->getName() . TextFormat::WHITE,
$this->networkSession->getIp(),
$this->networkSession->getPort(),
$this->getServer()->getLanguage()->translateString($reason)
]));
$this->spawned = false;
$this->stopSleep();