Fix BlockingOrBlockedWatcher not handling attackers removed from combat

This commit is contained in:
Alex W. Jackson 2022-09-24 01:13:28 -04:00
parent 0b200748e5
commit 3f09836c64

View file

@ -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()