mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
Briarbridge Patrol bug fix and test added
This commit is contained in:
parent
c4081c8020
commit
e2edeb9fcd
2 changed files with 39 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class BriarbridgePatrolCondition implements Condition {
|
|||
PermanentsSacrificedWatcher watcher = (PermanentsSacrificedWatcher) game.getState().getWatchers().get(PermanentsSacrificedWatcher.class.getName());
|
||||
if (watcher != null) {
|
||||
List<Permanent> sacrificedPermanents = watcher.getThisTurnSacrificedPermanents(source.getControllerId());
|
||||
if (!sacrificedPermanents.isEmpty()) {
|
||||
if (sacrificedPermanents != null && !sacrificedPermanents.isEmpty()) {
|
||||
int amountOfClues = 0;
|
||||
for (Permanent permanent : sacrificedPermanents) {
|
||||
if (permanent.getSubtype().contains("Clue")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue