mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
More work on commands
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user