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 | 9655178d3fedff59f91d21b3a645064bda3b62a2 (patch) | |
tree | 4a7908dfe1d8b5350579d16a3b0ec5135694dcdb /EssentialsGroupManager/src | |
parent | c4c94a8de0091bafc842e010da8df6fdb1da65cc (diff) | |
download | Essentials-9655178d3fedff59f91d21b3a645064bda3b62a2.tar Essentials-9655178d3fedff59f91d21b3a645064bda3b62a2.tar.gz Essentials-9655178d3fedff59f91d21b3a645064bda3b62a2.tar.lz Essentials-9655178d3fedff59f91d21b3a645064bda3b62a2.tar.xz Essentials-9655178d3fedff59f91d21b3a645064bda3b62a2.zip |
Fix recursive error detection when partial mirroring the main world
Diffstat (limited to 'EssentialsGroupManager/src')
-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!"); } } |