mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixed the IOException
This commit is contained in:
parent
e5a97641b3
commit
3659ae80e4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user