small fix
This commit is contained in:
parent
1beb6ca74d
commit
616c72c9f9
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +0,0 @@
|
|||||||
/.idea/
|
|
||||||
/application/.idea/
|
|
||||||
/.settings/
|
|
||||||
/.buildpath
|
|
||||||
/.project
|
|
||||||
/updates/
|
|
||||||
/versions/
|
|
@ -181,6 +181,12 @@ class MapManager implements CallbackListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!isset($uid)) {
|
||||||
|
trigger_error("Error while updating Map, unkown UID: " . $uid);
|
||||||
|
$this->maniaControl->chat->sendError("Error while updating Map.", $admin->login);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$map = $this->maps[$uid];
|
$map = $this->maps[$uid];
|
||||||
/** @var Map $map */
|
/** @var Map $map */
|
||||||
$mxId = $map->mx->id;
|
$mxId = $map->mx->id;
|
||||||
|
Loading…
Reference in New Issue
Block a user