mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08: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…
Add table
Add a link
Reference in a new issue