NULL uuids in flatfile should not be wiped as duplicates. Fixes #2594

This commit is contained in:
t00thpick1 2015-06-20 13:04:03 -04:00
parent 4388430491
commit bfeac43f12

View File

@ -864,7 +864,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
}
// Prevent the same player from being present multiple times
if (character.length >= 42 && (!character[41].isEmpty() && !players.add(character[41]))) {
if (character.length >= 42 && (!character[41].isEmpty() && !character[41].equals("NULL") && !players.add(character[41]))) {
continue;
}