Concurrency Exception in PerkDeathsGrasp fix
This commit is contained in:
parent
d33905e174
commit
ad6c506361
@ -1,5 +1,6 @@
|
|||||||
package nautilus.game.arcade.kit.perks;
|
package nautilus.game.arcade.kit.perks;
|
||||||
|
|
||||||
|
import java.time.temporal.WeekFields;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
@ -132,7 +133,7 @@ public class PerkDeathsGrasp extends Perk
|
|||||||
if (!UtilTime.elapsed(_weakness.get(ent), 1000))
|
if (!UtilTime.elapsed(_weakness.get(ent), 1000))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
_weakness.remove(ent);
|
weaknessIter.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user