mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
* Karador Ghost Chieftain - Fixed possible null pointer exception.
This commit is contained in:
parent
1a4d6ea547
commit
aa01ec979c
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class KaradorGhostChieftainContinuousEffect extends ContinuousEffectImpl {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player != null) {
|
||||
if (!game.getActivePlayerId().equals(player.getId())) {
|
||||
if (game.getActivePlayerId() == null || !game.getActivePlayerId().equals(player.getId())) {
|
||||
return false;
|
||||
}
|
||||
for (Card card : player.getGraveyard().getCards(new FilterCreatureCard(), game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue