From bfeac43f126da649f62b7e09874059cd6ab2963f Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sat, 20 Jun 2015 13:04:03 -0400 Subject: [PATCH] NULL uuids in flatfile should not be wiped as duplicates. Fixes #2594 --- .../com/gmail/nossr50/database/FlatfileDatabaseManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java b/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java index 41e9b76c8..ec5747b2b 100644 --- a/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java +++ b/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java @@ -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; }