mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fix android build (opcode error)
This commit is contained in:
@@ -1877,7 +1877,10 @@ public class CardProperty {
|
||||
boolean check() {
|
||||
manaPaid = new ArrayList<>(spellAbility.getPayingMana());
|
||||
manaCost = new ArrayList<>();
|
||||
card.getManaCost().forEach(manaCost::add);
|
||||
List<ManaCostShard> manaCostShards = manaCost;
|
||||
for (ManaCostShard manaCostShard : card.getManaCost()) {
|
||||
manaCostShards.add(manaCostShard);
|
||||
}
|
||||
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