Moved some stuff from join to login

this is how it should be
This commit is contained in:
Dylan K. Taylor
2017-10-08 19:38:03 +01:00
parent fdfe70b9f2
commit 1a88f59b23
2 changed files with 7 additions and 9 deletions

View File

@ -402,7 +402,7 @@ abstract class BaseInventory implements Inventory{
}
foreach($target as $player){
if(($id = $player->getWindowId($this)) === ContainerIds::NONE or $player->spawned !== true){
if(($id = $player->getWindowId($this)) === ContainerIds::NONE){
$this->close($player);
continue;
}