This commit is contained in:
Jeff Wadsworth 2022-06-28 10:26:12 -05:00
parent f72313bd40
commit da10b6397c

View file

@ -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;
} }