diff options
author | ElgarL <ElgarL@palmergames.com> | 2012-07-04 11:32:17 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2012-07-04 11:32:17 +0100 |
commit | 24ec84730e45d5e12f85d7954202c4e9dfeef70d (patch) | |
tree | 3cf4321ace46041529f3c18a92ac0b7326d3eb42 | |
parent | 51d61e7a915aa86d4291516dede211ec454c630f (diff) | |
download | Essentials-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).
-rw-r--r-- | EssentialsGroupManager/src/Changelog.txt | 3 | ||||
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt index 3b44270c6..99133244e 100644 --- a/EssentialsGroupManager/src/Changelog.txt +++ b/EssentialsGroupManager/src/Changelog.txt @@ -185,4 +185,5 @@ v 2.0: - Fix forgetting sub groups on a manload.
- Allow 'manucheckp' to notify when superperms reports false but it is really negated.
- Only output a Data update message if something has changed.
- - Fix loading users with only numerals in their names to be seen as strings.
\ No newline at end of file + - Fix loading users with only numerals in their names to be seen as strings.
+ - Ignore any sub folders in the Worlds folder which start with a period (fix for storing data in svn respoitories).
\ No newline at end of file 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()); /* |