- Getting rid of UI event duplication for declaration of blockers.

This commit is contained in:
Agetian
2014-01-02 06:42:58 +00:00
parent 39675d465d
commit 8fd2ffc93e

View File

@@ -39,7 +39,6 @@ import forge.game.player.Player;
import forge.game.trigger.TriggerType;
import forge.game.zone.ZoneType;
import forge.gui.events.UiEventAttackerDeclared;
import forge.gui.events.UiEventBlockerAssigned;
import forge.gui.match.CMatchUI;
/**
@@ -225,7 +224,6 @@ public class Combat {
public final void addBlocker(final Card attacker, final Card blocker) {
AttackingBand band = getBandOfAttacker(attacker);
blockedBands.put(band, blocker);
CMatchUI.SINGLETON_INSTANCE.fireEvent(new UiEventBlockerAssigned(blocker, attacker));
}
// remove blocked from specific attacker