diff --git a/src/main/java/com/gmail/nossr50/runnables/RemoveProfileFromMemoryTask.java b/src/main/java/com/gmail/nossr50/runnables/RemoveProfileFromMemoryTask.java index 35f6f30e2..feb7065de 100644 --- a/src/main/java/com/gmail/nossr50/runnables/RemoveProfileFromMemoryTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/RemoveProfileFromMemoryTask.java @@ -15,8 +15,8 @@ public class RemoveProfileFromMemoryTask implements Runnable { public void run() { //Check if the profile still exists (stuff like MySQL reconnection removes profiles) if(Users.players.containsKey(player.getName().toLowerCase())) { - Users.getProfile(player.getName()).save(); //We save here so players don't quit/reconnect to cause lag - Users.removeUserByName(player.getName()); + Users.getProfile(player.getName()).save(); //We save here so players don't quit/reconnect to cause lag + Users.removeUserByName(player.getName()); } } }