forked from External/mage
* Angel of Jubilation - Fixed possible Null Pointer Exception in Player.canPayLifeCost method (fixed #7019).
This commit is contained in:
parent
8419b67caa
commit
cd5c1c282c
4 changed files with 51 additions and 69 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue