mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Arsenal Thresher - Fixed a ClassCastException bug that happened as the player tried to show artifact cards from hand.
This commit is contained in:
parent
4b683619e3
commit
cc8e70980e
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue