From 8760c2bbb04606267f95fb9906b0c71c1a86db59 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sun, 17 Aug 2014 20:01:04 -0400 Subject: [PATCH] This way is cleaner though. --- .../com/gmail/nossr50/database/FlatfileDatabaseManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java b/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java index 4caf88e2f..e42830744 100644 --- a/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java +++ b/src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java @@ -849,7 +849,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager { } // Prevent the same player from being present multiple times - if (character.length == 42 && (!character[41].isEmpty() && !character[41].equalsIgnoreCase(" ") && !players.add(character[41]))) { + if (character.length == 42 && (!character[41].isEmpty() && !players.add(character[41]))) { continue; } @@ -939,7 +939,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager { // Addition of UUIDs // Version 1.5.01 // Add a space because otherwise it gets removed - newLine.append(" :"); + newLine.append(":"); if (oldVersion == null) { oldVersion = "1.5.01"; }