diff options
author | ElgarL <ElgarL@palmergames.com> | 2012-11-20 14:55:06 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2012-11-20 14:55:06 +0000 |
commit | 3254a1a2a001eb43d66705255f68a5b26b462ea1 (patch) | |
tree | efa09121243bf9a6b43b6fe5c9f66fe21d995145 /EssentialsGroupManager/src/org | |
parent | 7d0056b15460ff2af988d8b3711179507897dfc3 (diff) | |
download | Essentials-3254a1a2a001eb43d66705255f68a5b26b462ea1.tar Essentials-3254a1a2a001eb43d66705255f68a5b26b462ea1.tar.gz Essentials-3254a1a2a001eb43d66705255f68a5b26b462ea1.tar.lz Essentials-3254a1a2a001eb43d66705255f68a5b26b462ea1.tar.xz Essentials-3254a1a2a001eb43d66705255f68a5b26b462ea1.zip |
Fix recursive error detection when partial mirroring the main world
Diffstat (limited to 'EssentialsGroupManager/src/org')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 4 |
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 92fec7737..12a6a5150 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -204,10 +204,10 @@ public class WorldsHolder { mirroredWorlds.add((String)key); } else - GroupManager.logger.log(Level.WARNING, "Mirroring error with " + (String)key + ". Recursive loop detected!"); + throw new IllegalStateException("Unknown mirroring format for " + (String)key); } else { - throw new IllegalStateException("Unknown mirroring format for " + (String)key); + GroupManager.logger.log(Level.WARNING, "Mirroring error with " + (String)key + ". Recursive loop detected!"); } } |