BugFix: Now really converting $/_ players in flat file mode.

Missed one of two filters the first time.
This commit is contained in:
ryanhamshire 2014-10-10 16:06:53 -07:00
parent 851bf64e53
commit 31d1eea8f1

View File

@ -135,11 +135,7 @@ public class FlatFileDataStore extends DataStore
ArrayList<String> namesToConvert = new ArrayList<String>(); ArrayList<String> namesToConvert = new ArrayList<String>();
for(File playerFile : files) for(File playerFile : files)
{ {
//anything starting with an underscore or dollar sign isn't a player, ignore those namesToConvert.add(playerFile.getName());
String currentFilename = playerFile.getName();
if(currentFilename.startsWith("$") || currentFilename.startsWith("_")) continue;
namesToConvert.add(currentFilename);
} }
//resolve and cache as many as possible through various means //resolve and cache as many as possible through various means