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