Fixed players writing overlapped

This commit is contained in:
cerevisiae 2010-12-12 19:07:31 -06:00
parent f608ee7080
commit a0ecb3e09e

View File

@ -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) {