Refactor Command usage and description strings

This commit is contained in:
AnimeGitB
2022-07-18 18:36:17 +09:30
committed by Luke H-W
Unverified
parent e9464784bb
commit 2cfbe78184
40 changed files with 221 additions and 164 deletions
@@ -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";