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){
|
public static void addUser(Player player){
|
||||||
FileWriter writer = null;
|
FileWriter writer = null;
|
||||||
String location = "vminecraftusers.txt";
|
String location = "vminecraftusers.txt";
|
||||||
BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
|
|
||||||
try {
|
try {
|
||||||
|
BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
|
||||||
bw.append(player.getName()+"::::\r\n");
|
bw.append(player.getName()+"::::\r\n");
|
||||||
bw.newLine();
|
bw.newLine();
|
||||||
bw.close();
|
bw.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user