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