Better BatchPacket decoding and LoginPacket handling

This commit is contained in:
Shoghi Cervantes
2015-04-15 19:30:49 +02:00
parent 81fe98d4cc
commit 7f28deefcb
3 changed files with 24 additions and 12 deletions

View File

@ -157,7 +157,9 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
}
}
$this->interface->blockAddress($this->players[$identifier]->getAddress(), 5);
if(isset($this->players[$identifier])){
$this->interface->blockAddress($this->players[$identifier]->getAddress(), 5);
}
}
}
}