mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00: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
|
* @param game
|
||||||
*/
|
*/
|
||||||
private void retrieveMustBlockAttackerRequirements(Player attackingPlayer, Game game) {
|
private void retrieveMustBlockAttackerRequirements(Player attackingPlayer, Game game) {
|
||||||
|
if (attackingPlayer == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!game.getContinuousEffects().existRequirementEffects()) {
|
if (!game.getContinuousEffects().existRequirementEffects()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue