* Cost increasing - fixed rollback error (#6284);

This commit is contained in:
Oleg Agafonov 2020-02-17 20:43:51 +04:00
parent 30ab06bd26
commit bd0974eecd
3 changed files with 1 additions and 4 deletions

View file

@ -184,7 +184,6 @@ public final class CardUtil {
// increase cost (add to first generic or add new)
if (reduceCount < 0) {
Assert.assertEquals("must be empty", 0, adjustedCost.size());
boolean added = false;
for (ManaCost manaCost : manaCosts) {
if (reduceCount != 0 && manaCost instanceof GenericManaCost) {