Only fire one Targetted event per target

This specifically addresses changing the target of a spell or ability on the stack.
Fixes https://github.com/magefree/mage/issues/6158
This commit is contained in:
dilnu 2020-02-02 18:53:52 -05:00
parent a8d8f4e621
commit b6af571779
4 changed files with 22 additions and 50 deletions

View file

@ -136,4 +136,6 @@ public interface Target extends Serializable {
void setTargetAmount(UUID targetId, int amount, Game game);
Target withChooseHint(String chooseHint);
void setEventReporting(boolean shouldReport);
}