diff --git a/src/pocketmine/network/mcpe/RakLibInterface.php b/src/pocketmine/network/mcpe/RakLibInterface.php index 20882e28e..882819992 100644 --- a/src/pocketmine/network/mcpe/RakLibInterface.php +++ b/src/pocketmine/network/mcpe/RakLibInterface.php @@ -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); } } }