public function addMapToQueue($login, $id, $mxsite)
    {

        if (!$this->adminGroups->hasPermission($login, "maps.add")) {
            $this->chatNotification->sendMessage('expansion_mx.chat.nopermission', $login);

            return;
        }

        if ($this->downloadProgressing || count($this->addQueue) > 1) {

            $this->addQueue[] = ['mxid' => $id, 'mxsite' => $mxsite];
            $this->chatNotification->sendMessage("|info| Adding map to download queue...", $login);

            return;
        } else {
            $this->addMap($login, $id, $mxsite);
        }

    }