Remove useless condition

This commit is contained in:
Dylan K. Taylor 2017-07-13 19:59:01 +01:00
parent 3a214b7ce6
commit 6a191b5069

View File

@ -143,9 +143,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
$logger->debug("Packet " . (isset($pk) ? get_class($pk) : "unknown") . " 0x" . bin2hex($packet->buffer));
$logger->logException($e);
if(isset($this->players[$identifier])){
$this->interface->blockAddress($this->players[$identifier]->getAddress(), 5);
}
$this->interface->blockAddress($this->players[$identifier]->getAddress(), 5);
}
}
}