mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Fix compile
This commit is contained in:
@@ -124,10 +124,10 @@ public class ProtectAi extends SpellAbilityAi {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (threatenedObjects.contains(c)) {
|
if (threatenedObjects.contains(c)) {
|
||||||
return true;
|
return true;
|
||||||
}}
|
}
|
||||||
|
|
||||||
if (combat != null) {
|
if (combat != null) {
|
||||||
//creature is blocking and would be destroyed itself
|
//creature is blocking and would be destroyed itself
|
||||||
if (combat.isBlocking(c) && ComputerUtilCombat.blockerWouldBeDestroyed(ai, c, combat)) {
|
if (combat.isBlocking(c) && ComputerUtilCombat.blockerWouldBeDestroyed(ai, c, combat)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user