mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
*Missed two synchronized blocks
This commit is contained in:
@@ -941,8 +941,12 @@ public class MagicStack extends MyObservable {
|
||||
* object.
|
||||
*/
|
||||
public final void remove(final SpellAbilityStackInstance si) {
|
||||
this.getStack().remove(si);
|
||||
this.getFrozenStack().remove(si);
|
||||
synchronized (this.stack) {
|
||||
this.getStack().remove(si);
|
||||
}
|
||||
synchronized (this.frozenStack) {
|
||||
this.getFrozenStack().remove(si);
|
||||
}
|
||||
this.updateObservers();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user