mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Final fix
This commit is contained in:
parent
0e2096395a
commit
19ef8f47f2
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class AttackedLastTurnWatcher extends Watcher {
|
|||
attackedLastTurnCreatures.remove(activePlayer);
|
||||
}
|
||||
}
|
||||
if (event.getType() == GameEvent.EventType.ATTACKER_DECLARED) {
|
||||
if (event.getType() == GameEvent.EventType.DECLARED_ATTACKERS) {
|
||||
UUID attackingPlayer = game.getCombat().getAttackingPlayerId();
|
||||
Set<MageObjectReference> attackingCreatures = getAttackedThisTurnCreatures(attackingPlayer);
|
||||
for (UUID attackerId : game.getCombat().getAttackers()) {
|
||||
|
|
Loading…
Reference in a new issue