mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Fix BlockingOrBlockedWatcher not handling attackers removed from combat
This commit is contained in:
parent
0b200748e5
commit
3f09836c64
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ public class BlockingOrBlockedWatcher extends Watcher {
|
|||
blockerMap.clear();
|
||||
return;
|
||||
case REMOVED_FROM_COMBAT:
|
||||
// remove attacker
|
||||
blockerMap.remove(new MageObjectReference(event.getTargetId(), game));
|
||||
// remove blocker
|
||||
blockerMap
|
||||
.values()
|
||||
.stream()
|
||||
|
|
Loading…
Reference in a new issue