From 31d1eea8f1ad43847db173f2d8a58151c27b3665 Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Fri, 10 Oct 2014 16:06:53 -0700 Subject: [PATCH] BugFix: Now really converting $/_ players in flat file mode. Missed one of two filters the first time. --- src/me/ryanhamshire/GriefPrevention/FlatFileDataStore.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/me/ryanhamshire/GriefPrevention/FlatFileDataStore.java b/src/me/ryanhamshire/GriefPrevention/FlatFileDataStore.java index 5f64345..6b6749a 100644 --- a/src/me/ryanhamshire/GriefPrevention/FlatFileDataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/FlatFileDataStore.java @@ -135,11 +135,7 @@ public class FlatFileDataStore extends DataStore ArrayList namesToConvert = new ArrayList(); for(File playerFile : files) { - //anything starting with an underscore or dollar sign isn't a player, ignore those - String currentFilename = playerFile.getName(); - if(currentFilename.startsWith("$") || currentFilename.startsWith("_")) continue; - - namesToConvert.add(currentFilename); + namesToConvert.add(playerFile.getName()); } //resolve and cache as many as possible through various means