This commit is contained in:
Jesse Boyd 2016-02-13 22:19:07 +11:00
parent e2ba9fb8e9
commit a1eec4eb0c

View File

@ -276,7 +276,7 @@ public abstract class PlotArea {
final String homeDefault = config.getString("home.default"); final String homeDefault = config.getString("home.default");
if (homeDefault.equalsIgnoreCase("side")) { if (homeDefault.equalsIgnoreCase("side")) {
DEFAULT_HOME = null; DEFAULT_HOME = null;
} else if (homeDefault.equalsIgnoreCase("center")) { } else if (StringMan.isEqualIgnoreCaseToAny(homeDefault, "center", "middle")) {
DEFAULT_HOME = new PlotLoc(Integer.MAX_VALUE, Integer.MAX_VALUE); DEFAULT_HOME = new PlotLoc(Integer.MAX_VALUE, Integer.MAX_VALUE);
} else { } else {
try { try {