mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Remove player unset limitations
This commit is contained in:
parent
a610a86579
commit
8725ad522f
@ -803,10 +803,8 @@ class Server{
|
||||
* @param Player $player
|
||||
*/
|
||||
public function removePlayer(Player $player){
|
||||
if($player->isOnline() === false){
|
||||
unset($this->players[$player->getAddress() . ":" . $player->getPort()]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Level[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user