mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed a bug with the MustBeBlocked SVar.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user