mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Miss synchronized, can be related to ConcurrentModificationException problem in d202278ccd
This commit is contained in:
parent
b8a83bbdcb
commit
9b98565e8a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue