Fix command detection

This commit is contained in:
KingRainbow44 2022-04-20 23:56:27 -04:00
parent d7328dda50
commit b902fa6f48
2 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public final class Grasscutter {
private static DispatchServer dispatchServer;
private static GameServer gameServer;
public static final Reflections reflector = new Reflections();
public static final Reflections reflector = new Reflections("emu.grasscutter");
static {
// Declare logback configuration.

View File

@ -11,6 +11,7 @@ import java.util.*;
public final class CommandMap {
private final Map<String, CommandHandler> commands = new HashMap<>();
private final Map<String, Command> annotations = new HashMap<>();
public CommandMap() {
this(false);
}