mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fixed bug in ManaPoolView
This commit is contained in:
parent
61f5a6bf4a
commit
5a88f2750b
1 changed files with 8 additions and 9 deletions
|
@ -28,12 +28,11 @@
|
|||
|
||||
package mage.view;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.concurrent.locks.Condition;
|
||||
|
||||
import mage.ConditionalMana;
|
||||
import mage.players.ManaPool;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
@ -56,12 +55,12 @@ public class ManaPoolView implements Serializable {
|
|||
this.black = pool.getBlack();
|
||||
this.colorless = pool.getColorless();
|
||||
for (ConditionalMana mana : pool.getConditionalMana()) {
|
||||
this.red = mana.getRed();
|
||||
this.green = mana.getGreen();
|
||||
this.blue = mana.getBlue();
|
||||
this.white = mana.getWhite();
|
||||
this.black = mana.getBlack();
|
||||
this.colorless = mana.getColorless();
|
||||
this.red += mana.getRed();
|
||||
this.green += mana.getGreen();
|
||||
this.blue += mana.getBlue();
|
||||
this.white += mana.getWhite();
|
||||
this.black += mana.getBlack();
|
||||
this.colorless += mana.getColorless();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue