Make the generated help menu a little prettier and add command insertions
This commit is contained in:
parent
78144c1c16
commit
146bbc2db3
3 changed files with 44 additions and 15 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue