* Pir's Whim - Fixed a bug that prevented it from working correctly.
-
package mage.cards.p;
import java.util.UUID;
@@ -63,7 +62,7 @@ class PirsWhimEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
- Player controller = game.getPlayer(source.getSourceId());
+ Player controller = game.getPlayer(source.getControllerId());
ChooseFriendsAndFoes choice = new ChooseFriendsAndFoes();
if (!choice.chooseFriendOrFoe(controller, source, game)) {
return false;
