mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
fixed ConcurrentUpdateException with multi-threaded ai
This commit is contained in:
parent
e05024351f
commit
23616432e4
9 changed files with 51 additions and 28 deletions
|
|
@ -128,5 +128,10 @@ class HarvestPyreCost extends CostImpl<HarvestPyreCost> implements VariableCost
|
|||
public HarvestPyreCost copy() {
|
||||
return new HarvestPyreCost(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAmount(int amount) {
|
||||
amountPaid = amount;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue