mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
This way is cleaner though.
This commit is contained in:
parent
dc635fe7d7
commit
8760c2bbb0
@ -849,7 +849,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Prevent the same player from being present multiple times
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -939,7 +939,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
|
|||||||
// Addition of UUIDs
|
// Addition of UUIDs
|
||||||
// Version 1.5.01
|
// Version 1.5.01
|
||||||
// Add a space because otherwise it gets removed
|
// Add a space because otherwise it gets removed
|
||||||
newLine.append(" :");
|
newLine.append(":");
|
||||||
if (oldVersion == null) {
|
if (oldVersion == null) {
|
||||||
oldVersion = "1.5.01";
|
oldVersion = "1.5.01";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user