No longer use/save party name in database and users flat file

This commit is contained in:
bm01
2012-06-09 19:48:18 +02:00
parent dfff0efc0b
commit 81eadc1418
4 changed files with 23 additions and 36 deletions

View File

@ -90,7 +90,7 @@ public class Users {
*/
public static void removeUser(String playerName) {
for (Iterator<PlayerProfile> it = profiles.iterator() ; it.hasNext() ; ) {
if (it.next().getPlayer().getName().equals(playerName)) {
if (it.next().getPlayerName().equals(playerName)) {
it.remove();
return;
}