Make the generated help menu a little prettier and add command insertions

This commit is contained in:
Alexander Söderberg 2020-09-22 15:52:32 +02:00
parent 78144c1c16
commit 146bbc2db3
No known key found for this signature in database
GPG key ID: C0207FF7EA146678
3 changed files with 44 additions and 15 deletions

View file

@ -84,7 +84,9 @@ public final class BukkitTest extends JavaPlugin {
);
final BukkitAudiences bukkitAudiences = BukkitAudiences.create(this);
final MinecraftHelp<CommandSender> minecraftHelp = new MinecraftHelp<>(bukkitAudiences::audience, mgr);
final MinecraftHelp<CommandSender> minecraftHelp = new MinecraftHelp<>("/cloud help",
bukkitAudiences::audience,
mgr);
try {
((PaperCommandManager<CommandSender>) mgr).registerBrigadier();