Avoid hidden files as well when migrating to MySQL

Related to #158
This commit is contained in:
RoboMWM 2017-07-22 00:25:56 -07:00
parent 04bc32336c
commit 92a0adcfc0

View File

@ -814,6 +814,7 @@ public class FlatFileDataStore extends DataStore
{
File file = files[i];
if(!file.isFile()) continue; //avoids folders
if(file.isHidden()) continue; //avoid hidden files, which are likely not created by GriefPrevention
//all group data files start with a dollar sign. ignoring those, already handled above
if(file.getName().startsWith("$")) continue;