Fix recursive error detection when partial mirroring the main world

This commit is contained in:
ElgarL 2012-11-20 14:55:06 +00:00
parent 269cf85457
commit 1151f1a29c

View file

@ -204,10 +204,10 @@ public class WorldsHolder {
mirroredWorlds.add((String)key); mirroredWorlds.add((String)key);
} else } else
GroupManager.logger.log(Level.WARNING, "Mirroring error with " + (String)key + ". Recursive loop detected!"); throw new IllegalStateException("Unknown mirroring format for " + (String)key);
} else { } else {
throw new IllegalStateException("Unknown mirroring format for " + (String)key); GroupManager.logger.log(Level.WARNING, "Mirroring error with " + (String)key + ". Recursive loop detected!");
} }
} }