summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java
index d173307f2..55f471fa7 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java
@@ -187,7 +187,7 @@ public class WorldsHolder {
// These worlds fully mirror their parent
for (Object o : mirrorList) {
String world = o.toString().toLowerCase();
- if (world != serverDefaultWorldName) {
+ if (!world.equalsIgnoreCase(serverDefaultWorldName)) {
try {
mirrorsGroup.remove(world);
mirrorsUser.remove(world);
@@ -207,7 +207,7 @@ public class WorldsHolder {
for (Object key : subSection.keySet()) {
- if (((String)key).toLowerCase() != serverDefaultWorldName) {
+ if (!((String)key).equalsIgnoreCase(serverDefaultWorldName)) {
if (subSection.get(key) instanceof ArrayList) {
ArrayList mirrorList = (ArrayList) subSection.get(key);