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 | 1151f1a29c15527eb5867b5d4fac7203bb244772 (patch) | |
tree | b4e25735b04c28447d6891717ad3eb066a412764 /EssentialsGroupManager/src/org | |
parent | 269cf85457362af5dfd486cdc43d652d57f6c8d7 (diff) | |
download | Essentials-1151f1a29c15527eb5867b5d4fac7203bb244772.tar Essentials-1151f1a29c15527eb5867b5d4fac7203bb244772.tar.gz Essentials-1151f1a29c15527eb5867b5d4fac7203bb244772.tar.lz Essentials-1151f1a29c15527eb5867b5d4fac7203bb244772.tar.xz Essentials-1151f1a29c15527eb5867b5d4fac7203bb244772.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!"); } } |