mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Fix android build (opcode error)
This commit is contained in:
@@ -1877,7 +1877,10 @@ 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().forEach(manaCost::add);
|
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