mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-09 17:57:36 +01:00
Fix (some) of the checkstyle violations
This commit is contained in:
parent
48ff8d8bd1
commit
ee4a8c8ec9
@ -31,18 +31,15 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* List all gamerules in your current or specified world
|
||||
* List all gamerules in your current or specified world.
|
||||
*/
|
||||
@Service
|
||||
@CommandAlias("mv")
|
||||
public class GamerulesCommand extends MultiverseCommand {
|
||||
|
||||
private final MVWorldManager worldManager;
|
||||
|
||||
@Inject
|
||||
public GamerulesCommand(@NotNull MVCommandManager commandManager, @NotNull MVWorldManager worldManager) {
|
||||
public GamerulesCommand(@NotNull MVCommandManager commandManager) {
|
||||
super(commandManager);
|
||||
this.worldManager = worldManager;
|
||||
}
|
||||
|
||||
@Subcommand("gamerules|rules")
|
||||
@ -51,19 +48,16 @@ public class GamerulesCommand extends MultiverseCommand {
|
||||
@Syntax("[world] [page]")
|
||||
@Description("{@@mv-core.gamerules.description}")
|
||||
public void onGamerulesCommand(@NotNull BukkitCommandIssuer issuer,
|
||||
@Optional
|
||||
@Syntax("<world>")
|
||||
@Description("{@@mv-core.gamerules.description.world}")
|
||||
MVWorld world,
|
||||
|
||||
@Optional
|
||||
@Syntax("<world>")
|
||||
@Description("{@@mv-core.gamerules.description.world}")
|
||||
MVWorld world,
|
||||
|
||||
@Optional
|
||||
@Default("1")
|
||||
@Syntax("<page>")
|
||||
@Description("{@@mv-core.gamerules.description.page}")
|
||||
int page
|
||||
|
||||
|
||||
@Optional
|
||||
@Default("1")
|
||||
@Syntax("<page>")
|
||||
@Description("{@@mv-core.gamerules.description.page}")
|
||||
int page
|
||||
) {
|
||||
Logging.finer("Page is: " + page);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user