mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Persecute - Fixed that the target player instead of the controller was able to choose the color.
This commit is contained in:
parent
aa67721804
commit
0a341ea1eb
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class PersecuteEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getFirstTarget());
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
MageObject sourceObject = game.getObject(source.getSourceId());
|
||||
if (controller != null && sourceObject != null) {
|
||||
ChoiceColor choice = new ChoiceColor();
|
||||
|
|
Loading…
Reference in a new issue