More work on commands

This commit is contained in:
William committed 2023-03-12 12:49:46 +00:00
1 parent 0bd63a9f01
commit a72109667a
33 files changed
+445 -382

No files matched your search

@@ -28,9 +28,9 @@ public class BrigadierUtil {
try {
CommodoreProvider.getCommodore(plugin).register(pluginCommand,
CommodoreFileReader.INSTANCE.parse(commandCommodore),
player -> player.hasPermission(command.permission));
player -> player.hasPermission(command.getPermission()));
} catch (IOException e) {
plugin.getLoggingAdapter().log(Level.SEVERE, "Failed to read command commodore completions for "
plugin.log(Level.SEVERE, "Failed to read command commodore completions for "
+ pluginCommand.getName(), e);
}
}