custom votes plugin
This commit is contained in:
1 parent
74ab572569
commit
1acddeb4e1
2 files changed
+168
-30
No files matched your search
@@ -106,6 +106,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
|
||||
$this->maniaControl->chat->sendError("Couldn't remove map.", $player->login);
|
||||
return;
|
||||
}
|
||||
//TODO message
|
||||
//RemoveMap
|
||||
$this->maniaControl->mapManager->removeMap($player, $map->uid);
|
||||
}
|
||||
@@ -159,6 +160,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
|
||||
$this->maniaControl->authenticationManager->sendNotAllowed($player);
|
||||
return;
|
||||
}
|
||||
//TODO message
|
||||
$this->maniaControl->client->query('NextMap');
|
||||
}
|
||||
|
||||
@@ -173,6 +175,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
|
||||
$this->maniaControl->authenticationManager->sendNotAllowed($player);
|
||||
return;
|
||||
}
|
||||
//TODO message
|
||||
$this->maniaControl->client->query('RestartMap');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user