mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 07:59:44 +00:00
Fix Cyclic mirroring test (silly me)
This commit is contained in:
parent
1f9e72c5e2
commit
ff3ec84b0d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue