mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixed players writing overlapped
This commit is contained in:
parent
f608ee7080
commit
a0ecb3e09e
@ -313,7 +313,7 @@ class PlayerList
|
||||
{
|
||||
try {
|
||||
//Open the file to write the player
|
||||
FileWriter file = new FileWriter(location);
|
||||
FileWriter file = new FileWriter(location, true);
|
||||
BufferedWriter out = new BufferedWriter(file);
|
||||
|
||||
//Add the player to the end
|
||||
@ -333,8 +333,7 @@ class PlayerList
|
||||
out.append(":");
|
||||
|
||||
out.append(aliasList.toString());
|
||||
out.append("\r\n");
|
||||
|
||||
out.newLine();
|
||||
out.close();
|
||||
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user