Fix command detection

This commit is contained in:
KingRainbow44 2022-04-20 23:56:27 -04:00
parent d7ffcd1636
commit c3da897e01
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
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);
}