This commit is contained in:
Ka0rX 2023-03-19 17:56:23 +01:00
parent ae9c396c25
commit 6c89e78f54

View File

@ -233,7 +233,9 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc
}
public void resetTriggerStats() {
for (StatInstance instance : mmoData.getStatMap().getInstances()) {
Iterator<StatInstance> stat_ite=mmoData.getStatMap().getInstances().iterator();
while(stat_ite.hasNext()) {
StatInstance instance=stat_ite.next();
Iterator<StatModifier> iter = instance.getModifiers().iterator();
while (iter.hasNext()) {
StatModifier modifier = iter.next();