Added AsyncTask::onCompletion()

This commit is contained in:
Shoghi Cervantes
2014-06-25 13:01:39 +02:00
parent f9d9d2b0e5
commit 80aebf2932
4 changed files with 19 additions and 8 deletions

View File

@ -1635,7 +1635,7 @@ class Server{
$this->pluginManager->disablePlugins();
foreach($this->players as $player){
$player->close($this->getProperty("settings.shutdown-message", "Server closed"), "server closed");
$player->close($player->getName() . " has left the game", $this->getProperty("settings.shutdown-message", "Server closed"));
}
foreach($this->getLevels() as $level){