Skip to content

Commit 3eb4b4a

Browse files
committed
speedup overview creation
1 parent 5b8a7aa commit 3eb4b4a

File tree

1 file changed

+11
-13
lines changed
  • AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/commands/aef

1 file changed

+11
-13
lines changed

AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/commands/aef/AEFCmd.java

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import me.xginko.aef.commands.aef.subcommands.LagSubCmd;
1212
import me.xginko.aef.commands.aef.subcommands.ReloadSubCmd;
1313
import me.xginko.aef.commands.aef.subcommands.VersionSubCmd;
14-
import org.bukkit.ChatColor;
1514
import org.bukkit.command.Command;
1615
import org.bukkit.command.CommandException;
1716
import org.bukkit.command.CommandSender;
@@ -38,20 +37,19 @@ public AEFCmd() {
3837
);
3938
this.overview = Stream.of(
4039
"",
41-
" &b&lAnarchyExploitFixes Commands",
40+
" §b§lAnarchyExploitFixes Commands",
4241
"",
43-
" &b/aef version &8- &fShow the plugin version.",
44-
" &b/aef reload &8- &fReload the plugin.",
45-
" &b/aef disable &8- &fDisable the plugin.",
46-
" &b/aef lag <millis> &8- &fLag the server for testing.",
47-
" &b/aef geared &8- &fCount how many players are wearing gear.",
48-
" &b/aef elytra &8- &fCount how many players are flying elytra.",
49-
" &b/aef datavalue &8- &fShow the MaterialData value of an item.",
50-
" &b/aef bytesize <mainhand/inventory> (player) (utf8/utf16)",
51-
" &8- &fGet the byte size of an item or inventory.",
42+
" §b/aef version §8- §fShow the plugin version.",
43+
" §b/aef reload §8- §fReload the plugin.",
44+
" §b/aef disable §8- §fDisable the plugin.",
45+
" §b/aef lag <millis> §8- §fLag the server for testing.",
46+
" §b/aef geared §8- §fCount how many players are wearing gear.",
47+
" §b/aef elytra §8- §fCount how many players are flying elytra.",
48+
" §b/aef datavalue §8- §fShow the MaterialData value of an item.",
49+
" §b/aef bytesize <mainhand/inventory> (player) (utf8/utf16)",
50+
" §8- §fGet the byte size of an item or inventory.",
5251
""
53-
).map(line -> ChatColor.translateAlternateColorCodes('&', line))
54-
.collect(Collectors.collectingAndThen(Collectors.toList(), ImmutableList::copyOf));
52+
).collect(Collectors.collectingAndThen(Collectors.toList(), ImmutableList::copyOf));
5553
this.subCommands = ImmutableSet.of(
5654
new ReloadSubCmd(),
5755
new VersionSubCmd(),

0 commit comments

Comments
 (0)