mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
- Fixed #9161
This commit is contained in:
parent
f72313bd40
commit
da10b6397c
1 changed files with 3 additions and 1 deletions
|
@ -57,8 +57,10 @@ public class GoadTargetEffect extends ContinuousEffectImpl {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
for (UUID targetId : getTargetPointer().getTargets(game, source)) {
|
for (UUID targetId : getTargetPointer().getTargets(game, source)) {
|
||||||
Permanent targetCreature = game.getPermanent(targetId);
|
Permanent targetCreature = game.getPermanent(targetId);
|
||||||
|
if (targetCreature != null) {
|
||||||
targetCreature.addGoadingPlayer(source.getControllerId());
|
targetCreature.addGoadingPlayer(source.getControllerId());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue