summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src/org
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2012-07-04 11:32:17 +0100
committerElgarL <ElgarL@palmergames.com>2012-07-04 11:32:17 +0100
commit24ec84730e45d5e12f85d7954202c4e9dfeef70d (patch)
tree3cf4321ace46041529f3c18a92ac0b7326d3eb42 /EssentialsGroupManager/src/org
parent51d61e7a915aa86d4291516dede211ec454c630f (diff)
downloadEssentials-24ec84730e45d5e12f85d7954202c4e9dfeef70d.tar
Essentials-24ec84730e45d5e12f85d7954202c4e9dfeef70d.tar.gz
Essentials-24ec84730e45d5e12f85d7954202c4e9dfeef70d.tar.lz
Essentials-24ec84730e45d5e12f85d7954202c4e9dfeef70d.tar.xz
Essentials-24ec84730e45d5e12f85d7954202c4e9dfeef70d.zip
Ignore any sub folders in the Worlds folder which start with a period
(fix for storing data in svn respoitories).
Diffstat (limited to 'EssentialsGroupManager/src/org')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java
index f9735c282..199c99bb3 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java
@@ -105,7 +105,7 @@ public class WorldsHolder {
* and attempt to load the world data
*/
for (File folder : worldsFolder.listFiles()) {
- if (folder.isDirectory()) {
+ if (folder.isDirectory() && !folder.getName().startsWith(".")) {
GroupManager.logger.info("World Found: " + folder.getName());
/*