- Attempting to fix compile errors in forge-gui (please review, not sure if that's the value of the source parameter needed for addCounter in this location)

This commit is contained in:
Agetian
2017-04-20 16:27:10 +00:00
parent db1edd5ebb
commit 485a804367
2 changed files with 3 additions and 3 deletions

View File

@@ -409,7 +409,7 @@ public class HumanPlay {
return false;
}
source.addCounter(counterType, amount, false);
source.addCounter(counterType, amount, source, false);
}
else {
CardCollectionView list = p.getGame().getCardsIn(ZoneType.Battlefield);
@@ -427,7 +427,7 @@ public class HumanPlay {
continue;
}
Card selected = inp.getFirstSelected();
selected.addCounter(counterType, 1, false);
selected.addCounter(counterType, 1, source, false);
amount--;
}
}

View File

@@ -1674,7 +1674,7 @@ public class PlayerControllerHuman
final Integer count = getGui().getInteger("How many counters?", 1, Integer.MAX_VALUE, 10);
if (count == null) { return; }
card.addCounter(counter, count, false);
card.addCounter(counter, count, card, false);
}
/* (non-Javadoc)