mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Thoughtseize - Fixed a bug that locks game if taget player had no non land cards on hand.
This commit is contained in:
parent
e44abc5244
commit
e7b8504d52
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class ThoughtseizeEffect extends OneShotEffect<ThoughtseizeEffect> {
|
|||
if (you != null) {
|
||||
TargetCard target = new TargetCard(Zone.HAND, filter);
|
||||
target.setRequired(true);
|
||||
if (target.canChoose(source.getControllerId(), game) && you.chooseTarget(outcome, player.getHand(), target, source, game)) {
|
||||
if (target.canChoose(source.getControllerId(), player.getId(), game) && you.chooseTarget(outcome, player.getHand(), target, source, game)) {
|
||||
Card card = player.getHand().get(target.getFirstTarget(), game);
|
||||
if (card != null) {
|
||||
return player.discard(card, source, game);
|
||||
|
|
Loading…
Reference in a new issue