mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-16 19:23:14 +08:00
Refactor Command usage and description strings
This commit is contained in:
committed by
Luke H-W
Unverified
parent
e9464784bb
commit
2cfbe78184
@@ -8,9 +8,9 @@ import java.util.*;
|
||||
|
||||
@SuppressWarnings({"UnusedReturnValue", "unused"})
|
||||
public final class CommandMap {
|
||||
private final Map<String, CommandHandler> commands = new HashMap<>();
|
||||
private final Map<String, CommandHandler> aliases = new HashMap<>();
|
||||
private final Map<String, Command> annotations = new HashMap<>();
|
||||
private final Map<String, CommandHandler> commands = new LinkedHashMap<>();
|
||||
private final Map<String, CommandHandler> aliases = new LinkedHashMap<>();
|
||||
private final Map<String, Command> annotations = new LinkedHashMap<>();
|
||||
private final Map<String, Integer> targetPlayerIds = new HashMap<>();
|
||||
private static final String consoleId = "console";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user