Remove unused code and use less aggressive colors

This commit is contained in:
Hannes Greule 2020-06-09 12:39:27 +02:00 committed by Alexander Söderberg
parent bb298ab660
commit a3586791b5
2 changed files with 1 additions and 6 deletions

View File

@ -35,7 +35,6 @@ import com.plotsquared.core.util.MainUtil;
import com.plotsquared.core.util.SetupUtils; import com.plotsquared.core.util.SetupUtils;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
@ -48,10 +47,6 @@ import java.util.Map.Entry;
aliases = {"create"}, aliases = {"create"},
category = CommandCategory.ADMINISTRATION) category = CommandCategory.ADMINISTRATION)
public class Setup extends SubCommand { public class Setup extends SubCommand {
private static final Collection<Command> specialCommands = Arrays.asList(
new Command(null, false, "back", "", RequiredType.NONE, null) {},
new Command(null, false, "cancel", "", RequiredType.NONE, null) {});
public void displayGenerators(PlotPlayer<?> player) { public void displayGenerators(PlotPlayer<?> player) {
StringBuilder message = new StringBuilder(); StringBuilder message = new StringBuilder();

View File

@ -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"), REMOVED_GRANTED_PLOT("$2You used %s0 plot grant(s), you've got $1%s1 $2left", "Economy"),
//</editor-fold> //</editor-fold>
//<editor-fold desc="Setup"> //<editor-fold desc="Setup">
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 <value>", "Setup"), SETUP_INIT("$1Usage: $2/plot setup <value>", "Setup"),
SETUP_STEP("$3[$1Step %s0$3] $1%s1 $2- $1Expecting: $2%s2 $1Default: $2%s3", "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"), SETUP_INVALID_ARG("$2%s0 is not a valid argument for step %s1. To cancel setup use: $1/plot setup cancel", "Setup"),