mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
NullPointerException fix
This commit is contained in:
parent
1955dc6d18
commit
d6a08fbdd7
1 changed files with 3 additions and 0 deletions
|
|
@ -578,6 +578,9 @@ public class Combat implements Serializable, Copyable<Combat> {
|
|||
* @param game
|
||||
*/
|
||||
private void retrieveMustBlockAttackerRequirements(Player attackingPlayer, Game game) {
|
||||
if (attackingPlayer == null) {
|
||||
return;
|
||||
}
|
||||
if (!game.getContinuousEffects().existRequirementEffects()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue