This commit is contained in:
nossr50 2010-12-02 00:16:22 -08:00
parent 176622127e
commit c792411589

View File

@ -97,7 +97,7 @@ public class vMinecraftUsers {
FileWriter writer = null; FileWriter writer = null;
String location = "vminecraftusers.txt"; String location = "vminecraftusers.txt";
String playerName = player.getName(); String playerName = player.getName();
if (vMinecraftUsers.getInstance().doesPlayerExist(playerName)){ //Check to see if the player exists before writing if (!vMinecraftUsers.getInstance().doesPlayerExist(playerName)){ //Check to see if the player exists before writing
try { try {
BufferedWriter bw = new BufferedWriter(new FileWriter(location, true)); BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
bw.append(player.getName()+":::::\r"); bw.append(player.getName()+":::::\r");