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