mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Fixes #853
This commit is contained in:
parent
e2ba9fb8e9
commit
a1eec4eb0c
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user