Fixed dynamic command reg

This commit is contained in:
Auxilor
2022-11-06 19:17:21 +00:00
parent ad58ce4a74
commit 46fd0439a5

View File

@@ -61,7 +61,7 @@ public abstract class PluginCommand extends HandledCommand implements CommandExe
CommandMap commandMap = getCommandMap();
commandMap.register(this.getName(), new DelegatedBukkitCommand(this));
commandMap.register(this.getPlugin().getName().toLowerCase(), new DelegatedBukkitCommand(this));
Eco.get().syncCommands();
}