mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed NPE in mustBlockAnAttacker.
This commit is contained in:
@@ -386,7 +386,7 @@ public class CombatUtil {
|
||||
*/
|
||||
public static boolean mustBlockAnAttacker(final Card blocker, final Combat combat) {
|
||||
|
||||
if (blocker == null) {
|
||||
if (blocker == null || combat == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user