small fix
This commit is contained in:
1 parent
1beb6ca74d
commit
616c72c9f9
2 files changed
+6
-7
No files matched your search
@@ -1,7 +0,0 @@
|
||||
/.idea/
|
||||
/application/.idea/
|
||||
/.settings/
|
||||
/.buildpath
|
||||
/.project
|
||||
/updates/
|
||||
/versions/
|
||||
@@ -181,6 +181,12 @@ class MapManager implements CallbackListener {
|
||||
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];
|
||||
/** @var Map $map */
|
||||
$mxId = $map->mx->id;
|
||||
|
||||
Reference in new issue
Block a user