Start command refactor

This commit is contained in:
William278 committed 2023-03-05 19:10:19 +00:00
1 parent 39e0b25d46
commit 3e27f7c5b1
57 files changed
+728 -384

No files matched your search

@@ -17,10 +17,10 @@ public class BrigadierUtil {
*
* @param plugin instance of the registering Bukkit plugin
* @param pluginCommand the Bukkit PluginCommand to register completions for
* @param command the {@link CommandBase} to register completions for
* @param command the {@link Command} to register completions for
*/
protected static void registerCommodore(@NotNull BukkitHuskHomes plugin, @NotNull PluginCommand pluginCommand,
@NotNull CommandBase command) {
@NotNull Command command) {
final InputStream commandCommodore = plugin.getResource("commodore/" + pluginCommand.getName() + ".commodore");
if (commandCommodore == null) {
return;