Skip to content

Commit 29f7b64

Browse files
/ don't make sense here
1 parent 8de56d2 commit 29f7b64

File tree

1 file changed

+5
-6
lines changed
  • CommandWhitelistCommon/src/main/java/eu/endermite/commandwhitelist/common/commands

1 file changed

+5
-6
lines changed

CommandWhitelistCommon/src/main/java/eu/endermite/commandwhitelist/common/commands/CWCommand.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import net.kyori.adventure.text.minimessage.MiniMessage;
88
import net.kyori.adventure.text.minimessage.tag.resolver.TagResolver;
99
import net.kyori.adventure.text.minimessage.tag.standard.StandardTags;
10-
1110
import java.util.ArrayList;
1211
import java.util.Collection;
1312
import java.util.List;
@@ -44,18 +43,18 @@ public static boolean removeFromWhitelist(ConfigCache configCache, String comman
4443
}
4544

4645
public static Component helpComponent(String baseCommand, boolean showReloadCommand, boolean showAdminCommands) {
47-
Component component = miniMessage.deserialize("<rainbow><bold>CommandWhitelist by YouHaveTrouble")
46+
Component component = miniMessage.deserialize("<rainbow><bold>CommandWhitelist by YouHaveTrouble</bold>")
4847
.append(Component.newline());
49-
component = component.append(Component.text("/" + baseCommand + " help").color(NamedTextColor.AQUA).append(Component.text(" - Displays this message").color(NamedTextColor.BLUE)));
48+
component = component.append(Component.text(baseCommand + " help").color(NamedTextColor.AQUA).append(Component.text(" - Displays this message").color(NamedTextColor.BLUE)));
5049
if (showReloadCommand) {
5150
component = component.append(Component.newline());
52-
component = component.append(Component.text("/" + baseCommand + " reload").color(NamedTextColor.AQUA).append(Component.text(" - Reloads plugin configuration").color(NamedTextColor.BLUE)));
51+
component = component.append(Component.text(baseCommand + " reload").color(NamedTextColor.AQUA).append(Component.text(" - Reloads plugin configuration").color(NamedTextColor.BLUE)));
5352
}
5453
if (showAdminCommands) {
5554
component = component.append(Component.newline());
56-
component = component.append(Component.text("/" + baseCommand + " add <group> <command>").color(NamedTextColor.AQUA).append(Component.text(" - Add a command to selected permission group").color(NamedTextColor.BLUE)));
55+
component = component.append(Component.text(baseCommand + " add <group> <command>").color(NamedTextColor.AQUA).append(Component.text(" - Add a command to selected permission group").color(NamedTextColor.BLUE)));
5756
component = component.append(Component.newline());
58-
component = component.append(Component.text("/" + baseCommand + " remove <group> <command>").color(NamedTextColor.AQUA).append(Component.text(" - Removes a command from selected permission group").color(NamedTextColor.BLUE)));
57+
component = component.append(Component.text(baseCommand + " remove <group> <command>").color(NamedTextColor.AQUA).append(Component.text(" - Removes a command from selected permission group").color(NamedTextColor.BLUE)));
5958
}
6059
return component;
6160
}

0 commit comments

Comments
 (0)