Reformat project

This commit is contained in:
broccolai 2020-12-07 12:01:30 +00:00 committed by Alexander Söderberg
parent 01d36aecd8
commit 237eda75ef
30 changed files with 130 additions and 87 deletions

View file

@ -92,8 +92,8 @@ public final class ExampleVelocityPlugin {
);
commandManager.command(
commandManager.commandBuilder("example-server")
.argument(ServerArgument.of("server"))
.handler(context -> {
.argument(ServerArgument.of("server"))
.handler(context -> {
final RegisteredServer server = context.get("server");
context.getSender().sendMessage(
Identity.nil(),
@ -103,7 +103,7 @@ public final class ExampleVelocityPlugin {
Component.text(server.getServerInfo().getName(), NamedTextColor.AQUA)
).build()
);
})
})
);
}