summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@Palmergames.com>2013-07-08 16:01:34 +0100
committerKHobbits <rob@khobbits.co.uk>2014-05-04 12:50:06 +0100
commitff3ec84b0d624c050238cc1d90f38b44066708fc (patch)
tree04b2cf61dfce4332e25dbeaacf2a2423f82c28a1 /EssentialsGroupManager
parent1f9e72c5e2e8bf348b1df2cee27ec54cb6f84c52 (diff)
downloadEssentials-ff3ec84b0d624c050238cc1d90f38b44066708fc.tar
Essentials-ff3ec84b0d624c050238cc1d90f38b44066708fc.tar.gz
Essentials-ff3ec84b0d624c050238cc1d90f38b44066708fc.tar.lz
Essentials-ff3ec84b0d624c050238cc1d90f38b44066708fc.tar.xz
Essentials-ff3ec84b0d624c050238cc1d90f38b44066708fc.zip
Fix Cyclic mirroring test (silly me)
Diffstat (limited to 'EssentialsGroupManager')
-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);