From 17a4492e2af3155d827fbeb38a245afe247012b6 Mon Sep 17 00:00:00 2001 From: Ashijin Date: Sun, 29 Nov 2020 22:37:03 -0700 Subject: [PATCH] removed Carson --- .../java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java b/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java index 9df1df72..36c332c2 100644 --- a/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java +++ b/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java @@ -50,7 +50,7 @@ public class PlayerStats { * used to update MMOCore stat modifiers due to class and send them over to * MMOLib. must be ran everytime the player levels up or changes class. */ - public void updateStats() { + public synchronized void updateStats() { getMap().getInstances().forEach(ins -> ins.removeIf(key -> key.equals("mmocoreClass"))); for (StatType stat : StatType.values()) {