This commit is contained in:
nossr50
2019-06-05 23:50:39 -07:00
parent 426b2d27e7
commit 0638f4c437
5 changed files with 9 additions and 6 deletions

View File

@ -33,7 +33,8 @@ public final class UserManager {
}
public static void cleanupPlayer(McMMOPlayer mcMMOPlayer) {
playerDataSet.remove(mcMMOPlayer);
if(playerDataSet != null && playerDataSet.contains(mcMMOPlayer))
playerDataSet.remove(mcMMOPlayer);
}
/**