From a388d74e3dd23ca77e224ab5e9c32b7f6d268fe1 Mon Sep 17 00:00:00 2001 From: Sloth Date: Thu, 26 Jan 2012 12:43:05 +0000 Subject: [PATCH] - Fixed a bug with the MustBeBlocked SVar. --- src/main/java/forge/CombatUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/forge/CombatUtil.java b/src/main/java/forge/CombatUtil.java index ad2571c8b69..967300f4c92 100644 --- a/src/main/java/forge/CombatUtil.java +++ b/src/main/java/forge/CombatUtil.java @@ -1138,7 +1138,7 @@ public class CombatUtil { final CardList blockers = combat.getBlockers(attacker); if (blockers.size() == 0) { - if (attacker.getSVar("MustBeBlocked") != null) { + if (!attacker.getSVar("MustBeBlocked").equals("")) { return true; } } @@ -1192,7 +1192,7 @@ public class CombatUtil { final CardList blockers = combat.getBlockers(attacker); if (blockers.size() == 0) { - if (attacker.getSVar("MustBeBlocked") != null) { + if (!attacker.getSVar("MustBeBlocked").equals("")) { return true; } }