mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-21 11:13:00 +01:00
Changed how we remove PlayerProfiles to reduce lag
This commit is contained in:
@@ -84,7 +84,8 @@ public class Users {
|
||||
{
|
||||
PlayerProfile PP = Users.getProfile(player);
|
||||
|
||||
if(PP != null)
|
||||
//Only remove PlayerProfile if user is offline
|
||||
if(!player.isOnline())
|
||||
{
|
||||
PP.save();
|
||||
if(players.containsKey(player))
|
||||
|
||||
Reference in New Issue
Block a user