Some changes to comments

This commit is contained in:
Vankka 2022-05-11 19:41:01 +03:00
parent 7884e6988f
commit 6a81b21e54
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
2 changed files with 3 additions and 3 deletions

View File

@ -39,8 +39,8 @@ public class DiscordSRVBukkitBootstrap extends BukkitBootstrap implements IBoots
private BukkitDiscordSRV discordSRV;
private final List<Runnable> mainThreadTasksForDisable = new ArrayList<>();
// Don't change these parameters
public DiscordSRVBukkitBootstrap(JarInJarClassLoader classLoader, JavaPlugin plugin) throws IOException {
// Don't change these parameters
super(classLoader, plugin);
this.logger = new JavaLoggerImpl(plugin.getLogger());
this.lifecycleManager = new LifecycleManager(
@ -59,7 +59,7 @@ public class DiscordSRVBukkitBootstrap extends BukkitBootstrap implements IBoots
Class.forName("com.mojang.brigadier.CommandDispatcher");
resources.add("dependencies/commodore.txt");
} catch (ClassNotFoundException ignored) {
// CommandDispatches not present, don't need to bother downloading commodore
// CommandDispatcher not present, don't need to bother downloading commodore
}
return resources.toArray(new String[0]);

View File

@ -36,8 +36,8 @@ public class DiscordSRVBungeeBootstrap extends BungeeBootstrap implements IBoots
private final LifecycleManager lifecycleManager;
private BungeeDiscordSRV discordSRV;
// Don't change these parameters
public DiscordSRVBungeeBootstrap(JarInJarClassLoader classLoader, Plugin plugin) throws IOException {
// Don't change these parameters
super(classLoader, plugin);
this.logger = new JavaLoggerImpl(plugin.getLogger());
this.lifecycleManager = new LifecycleManager(