* Angel of Jubilation - Fixed possible Null Pointer Exception in Player.canPayLifeCost method (fixed #7019).

This commit is contained in:
LevelX2 2020-08-28 09:26:38 +02:00
parent 8419b67caa
commit cd5c1c282c
4 changed files with 51 additions and 69 deletions

View file

@ -101,10 +101,18 @@ public interface Player extends MageItem, Copyable<Player> {
boolean isCanGainLife();
/**
* Is the player allowed to pay life for casting spells or activate activated abilities
*
* @param canPayLifeCost
*/
void setCanPayLifeCost(boolean canPayLifeCost);
boolean getCanPayLifeCost();
/**
* Can the player pay life for spells or activated abilities
* Can the player pay life to cast or activate the given ability
*
* @param Ability
* @return