*Missed two synchronized blocks

This commit is contained in:
Hellfish
2013-05-04 17:17:54 +00:00
parent b31ed17ef5
commit 8251bf46e4

View File

@@ -941,8 +941,12 @@ public class MagicStack extends MyObservable {
* object.
*/
public final void remove(final SpellAbilityStackInstance si) {
synchronized (this.stack) {
this.getStack().remove(si);
}
synchronized (this.frozenStack) {
this.getFrozenStack().remove(si);
}
this.updateObservers();
}