mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 13:15:39 +00:00
Fix command detection
This commit is contained in:
parent
d7328dda50
commit
b902fa6f48
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user