mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Merge branch 'fixandroidlambda' into 'master'
Fix Android Lambda See merge request core-developers/forge!3615
This commit is contained in:
@@ -1876,11 +1876,7 @@ public class CardProperty {
|
||||
}
|
||||
boolean check() {
|
||||
manaPaid = new ArrayList<>(spellAbility.getPayingMana());
|
||||
manaCost = new ArrayList<>();
|
||||
List<ManaCostShard> manaCostShards = manaCost;
|
||||
for (ManaCostShard manaCostShard : card.getManaCost()) {
|
||||
manaCostShards.add(manaCostShard);
|
||||
}
|
||||
manaCost = new ArrayList<>(card.getManaCost());
|
||||
Collections.sort(manaCost);
|
||||
//It seems the above codes didn't add generic mana cost ?
|
||||
//Add generic cost below to fix it.
|
||||
|
||||
Reference in New Issue
Block a user