Fixed yet another crash when level-settings.always-tick-players is set to true

This commit is contained in:
Dylan K. Taylor 2017-03-31 16:09:40 +01:00
parent 7f838a8c36
commit 87a52a4f35

View File

@ -2209,7 +2209,7 @@ class Server{
foreach($this->players as $p){
if(!$p->loggedIn and ($tickTime - $p->creationTime) >= 10){
$p->close("", "Login timeout");
}elseif($this->alwaysTickPlayers){
}elseif($this->alwaysTickPlayers and $p->joined){
$p->onUpdate($currentTick);
}
}