From 017136ff1cdfc173f8ffd3dc80f029607ce112b0 Mon Sep 17 00:00:00 2001 From: ElgarL Date: Wed, 4 Jul 2012 11:32:17 +0100 Subject: Ignore any sub folders in the Worlds folder which start with a period (fix for storing data in svn respoitories). --- .../src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EssentialsGroupManager/src/org') 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()); /* -- cgit v1.2.3