mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed bug of Tribute to Hunger where target was not required.
This commit is contained in:
parent
2e15772385
commit
278e7771ed
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class TributeToHungerEffect extends OneShotEffect<TributeToHungerEffect> {
|
|||
filter.add(new CardTypePredicate(CardType.CREATURE));
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
TargetControlledPermanent target = new TargetControlledPermanent(1, 1, filter, false);
|
||||
target.setRequired(true);
|
||||
|
||||
if (target.canChoose(player.getId(), game)) {
|
||||
player.choose(Outcome.Sacrifice, target, source.getSourceId(), game);
|
||||
|
|
Loading…
Reference in a new issue