Removed PlayerProfile save on User.removeUser, it's already done in RemoveProfileFromMemoryTask

This commit is contained in:
bm01 2012-06-06 02:20:33 +02:00
parent 56aff1d191
commit 35565bb021

View File

@ -69,7 +69,6 @@ public class Users {
public static void removeUser(Player player) { public static void removeUser(Player player) {
//Only remove PlayerProfile if user is offline and we have it in memory //Only remove PlayerProfile if user is offline and we have it in memory
if (!player.isOnline() && players.containsKey(player)) { if (!player.isOnline() && players.containsKey(player)) {
players.get(player).save();
players.remove(player); players.remove(player);
} }
} }