- Fixed NPE in mustBlockAnAttacker.

This commit is contained in:
Sloth
2012-08-31 15:22:17 +00:00
parent d91048c38b
commit b1b8eb0ad8

View File

@@ -386,7 +386,7 @@ public class CombatUtil {
*/ */
public static boolean mustBlockAnAttacker(final Card blocker, final Combat combat) { public static boolean mustBlockAnAttacker(final Card blocker, final Combat combat) {
if (blocker == null) { if (blocker == null || combat == null) {
return false; return false;
} }