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() {
|
boolean check() {
|
||||||
manaPaid = new ArrayList<>(spellAbility.getPayingMana());
|
manaPaid = new ArrayList<>(spellAbility.getPayingMana());
|
||||||
manaCost = new ArrayList<>();
|
manaCost = new ArrayList<>(card.getManaCost());
|
||||||
List<ManaCostShard> manaCostShards = manaCost;
|
|
||||||
for (ManaCostShard manaCostShard : card.getManaCost()) {
|
|
||||||
manaCostShards.add(manaCostShard);
|
|
||||||
}
|
|
||||||
Collections.sort(manaCost);
|
Collections.sort(manaCost);
|
||||||
//It seems the above codes didn't add generic mana cost ?
|
//It seems the above codes didn't add generic mana cost ?
|
||||||
//Add generic cost below to fix it.
|
//Add generic cost below to fix it.
|
||||||
|
|||||||
Reference in New Issue
Block a user