Add Velocity module
This commit is contained in:
parent
ccd0e8ae0e
commit
f1d4e7865d
17 changed files with 566 additions and 22 deletions
|
|
@ -105,7 +105,7 @@ public final class BukkitTest extends JavaPlugin {
|
|||
.<CommandSender>newBuilder("perc")
|
||||
.withMin(PERC_MIN).withMax(PERC_MAX).build())
|
||||
.handler(context -> {
|
||||
((Player) context.getSender()).sendMessage(String.format(
|
||||
context.getSender().sendMessage(String.format(
|
||||
"Kenny sux %d%%",
|
||||
context.<Integer>get("perc").orElse(PERC_MIN)
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue