Ignore any sub folders in the Worlds folder which start with a period

(fix for storing data in svn respoitories).
This commit is contained in:
ElgarL 2012-07-04 11:32:17 +01:00
parent 51d61e7a91
commit 24ec84730e
2 changed files with 3 additions and 2 deletions

View file

@ -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.
- 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).

View file

@ -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());
/*