From a3586791b5deb2e54a22a332761105c15a782e9d Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Tue, 9 Jun 2020 12:39:27 +0200 Subject: [PATCH] Remove unused code and use less aggressive colors --- Core/src/main/java/com/plotsquared/core/command/Setup.java | 5 ----- .../java/com/plotsquared/core/configuration/Captions.java | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Setup.java b/Core/src/main/java/com/plotsquared/core/command/Setup.java index 8f5f9574a..bdcd20697 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Setup.java +++ b/Core/src/main/java/com/plotsquared/core/command/Setup.java @@ -35,7 +35,6 @@ import com.plotsquared.core.util.MainUtil; import com.plotsquared.core.util.SetupUtils; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; @@ -48,10 +47,6 @@ import java.util.Map.Entry; aliases = {"create"}, category = CommandCategory.ADMINISTRATION) public class Setup extends SubCommand { - private static final Collection specialCommands = Arrays.asList( - new Command(null, false, "back", "", RequiredType.NONE, null) {}, - new Command(null, false, "cancel", "", RequiredType.NONE, null) {}); - public void displayGenerators(PlotPlayer player) { StringBuilder message = new StringBuilder(); diff --git a/Core/src/main/java/com/plotsquared/core/configuration/Captions.java b/Core/src/main/java/com/plotsquared/core/configuration/Captions.java index 778423635..99123b334 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/Captions.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/Captions.java @@ -319,7 +319,7 @@ public enum Captions implements Caption { REMOVED_GRANTED_PLOT("$2You used %s0 plot grant(s), you've got $1%s1 $2left", "Economy"), // // - SETUP_NOT_STARTED("$7No setup started. Use $2/plot setup $7to start a setup process.", "Setup"), + SETUP_NOT_STARTED("$1No setup started. Use $2/plot setup $1to start a setup process.", "Setup"), SETUP_INIT("$1Usage: $2/plot setup ", "Setup"), SETUP_STEP("$3[$1Step %s0$3] $1%s1 $2- $1Expecting: $2%s2 $1Default: $2%s3", "Setup"), SETUP_INVALID_ARG("$2%s0 is not a valid argument for step %s1. To cancel setup use: $1/plot setup cancel", "Setup"),