Command suggestion improvements
This commit is contained in:
parent
bc261676e7
commit
14b5d9fc3c
4 changed files with 14 additions and 6 deletions
|
|
@ -146,6 +146,7 @@ public final class BukkitTest extends JavaPlugin {
|
|||
.component(IntegerComponent.required("int"))
|
||||
.component(BooleanComponent.required("bool"))
|
||||
.component(StringComponent.required("string"))
|
||||
.handler(c -> c.getSender().sendMessage("Executed the command"))
|
||||
.build());
|
||||
} catch (final Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue