mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
parent
342662c944
commit
7a14e61762
@ -638,9 +638,9 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
|
|||||||
StringBuilder writer = new StringBuilder();
|
StringBuilder writer = new StringBuilder();
|
||||||
String line;
|
String line;
|
||||||
|
|
||||||
while (((line = in.readLine()) != null) && !fetchedUUIDs.isEmpty()) {
|
while (((line = in.readLine()) != null)) {
|
||||||
String[] character = line.split(":");
|
String[] character = line.split(":");
|
||||||
if (fetchedUUIDs.containsKey(character[0])) {
|
if (!fetchedUUIDs.isEmpty() && fetchedUUIDs.containsKey(character[0])) {
|
||||||
if (character.length < 42) {
|
if (character.length < 42) {
|
||||||
mcMMO.p.getLogger().severe("Could not update UUID for " + character[0] + "!");
|
mcMMO.p.getLogger().severe("Could not update UUID for " + character[0] + "!");
|
||||||
mcMMO.p.getLogger().severe("Database entry is invalid.");
|
mcMMO.p.getLogger().severe("Database entry is invalid.");
|
||||||
|
Loading…
Reference in New Issue
Block a user