Miss synchronized, can be related to ConcurrentModificationException problem in d202278ccd

This commit is contained in:
Oleg Agafonov 2021-08-10 14:31:06 +04:00
parent b8a83bbdcb
commit 9b98565e8a

View file

@ -1333,7 +1333,7 @@ public class ContinuousEffects implements Serializable {
}
}
public void setController(UUID cardId, UUID controllerId) {
public synchronized void setController(UUID cardId, UUID controllerId) {
for (ContinuousEffectsList effectsList : allEffectsLists) {
setControllerForEffect(effectsList, cardId, controllerId);
}