Fixed the IOException

This commit is contained in:
cerevisiae 2010-12-01 15:17:18 -06:00
parent e5a97641b3
commit 3659ae80e4

View File

@ -42,8 +42,8 @@ public class vMinecraftUsers {
public static void addUser(Player player){
FileWriter writer = null;
String location = "vminecraftusers.txt";
BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
try {
BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
bw.append(player.getName()+"::::\r\n");
bw.newLine();
bw.close();