1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-06 14:46:32 +02:00

Fix Cyclic mirroring test (silly me)

This commit is contained in:
ElgarL
2013-07-08 16:01:34 +01:00
committed by KHobbits
parent 1f9e72c5e2
commit ff3ec84b0d

View File

@@ -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);