Add a setting to disable ManiaExchange
This commit is contained in:
1 parent
129053e951
commit
0ad0d06f85
5 files changed
+62
-8
No files matched your search
@@ -140,6 +140,8 @@ class ManiaExchangeMapSearch implements UsageInformationAble {
|
||||
* @param callable $function
|
||||
*/
|
||||
public function fetchMapsAsync(callable $function) {
|
||||
if (!$this->maniaControl->getMapManager()->getMXManager()->getStatus()) return;
|
||||
|
||||
// compile search URL
|
||||
$parameters = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user