Reformat project
This commit is contained in:
parent
01d36aecd8
commit
237eda75ef
30 changed files with 130 additions and 87 deletions
|
|
@ -2,4 +2,4 @@ name: ExamplePlugin
|
|||
version: 1.2.0-SNAPSHOT
|
||||
api-version: 1.13
|
||||
main: cloud.commandframework.examples.bukkit.ExamplePlugin
|
||||
depends: [Essentials]
|
||||
depends: [ Essentials ]
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public final class PrivateUser extends CustomUser {
|
|||
/**
|
||||
* Construct a Private user
|
||||
*
|
||||
* @param user User that sent the message
|
||||
* @param user User that sent the message
|
||||
* @param channel Text channel that the message was sent in
|
||||
*/
|
||||
public PrivateUser(final @NonNull User user, final @NonNull PrivateChannel channel) {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
);
|
||||
})
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue