1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-04 13:47:53 +02:00

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 f86c526f7c
commit 017136ff1c
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());
/*