mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Added login timeout for players that do not complete the login process in time
This commit is contained in:
@@ -1495,7 +1495,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
|
||||
switch($packet->pid()){
|
||||
case ProtocolInfo::LOGIN_PACKET:
|
||||
if($this->loggedIn === true){
|
||||
if($this->loggedIn){
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user