8000 Reintroduce legacy map pool command aliases by alexsosnovsky · Pull Request #1090 · PGMDev/PGM · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reintroduce legacy map pool command aliases #1090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/main/java/tc/oc/pgm/command/MapPoolCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public final class MapPoolCommand {
private static final DecimalFormat SCORE_FORMAT = new DecimalFormat("00.00%");

@Command(
aliases = {"pool"},
aliases = {"pool", "rotation", "rot"},
desc = "List the maps in the map pool",
usage = "[page] [-p pool] [-s scores] [-c chance of vote]")
public static void pool(
Expand Down Expand Up @@ -127,7 +127,7 @@ public Component format(MapInfo map, int index) {
}

@Command(
aliases = {"pools"},
aliases = {"pools", "rotations", "rots"},
desc = "List all the map pools",
flags = "d")
public static void pools(
Expand Down Expand Up @@ -204,7 +204,7 @@ public Component format(MapPool mapPool, int index) {
}

@Command(
aliases = {"setpool"},
aliases = {"setpool", "setrot"},
desc = "Change the map pool",
usage = "[pool name] -r (revert to dynamic) -t (time limit for map pool) -m (match # limit)",
flags = "rtm",
Expand Down
0