* Arsenal Thresher - Fixed a ClassCastException bug that happened as the player tried to show artifact cards from hand.

This commit is contained in:
LevelX2 2014-09-05 00:26:37 +02:00
parent 4b683619e3
commit cc8e70980e

View file

@ -103,7 +103,7 @@ class ArsenalThresherEffect extends OneShotEffect {
filter.add(new AnotherPredicate());
if (you.chooseUse(Outcome.Benefit, "Do you want to reveal other artifacts in your hand?", game)) {
Cards cards = new CardsImpl();
if (you.getHand().count(filter, game) > 0) {
if (you.getHand().count(filter, source.getSourceId(), source.getControllerId(), game) > 0) {
TargetCardInHand target = new TargetCardInHand(0, Integer.MAX_VALUE, filter);
if (you.choose(Outcome.Benefit, target, source.getSourceId(), game)) {
for (UUID uuid : target.getTargets()) {