mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 06:07:22 +00:00
Fix command detection
This commit is contained in:
parent
d7ffcd1636
commit
c3da897e01
@ -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