mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fix nullpointer cryOfTheCarnarium
This commit is contained in:
parent
df66fc51f0
commit
36852c0bd5
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class CryOfTheCarnariumReplacementEffect extends ReplacementEffectImpl {
|
||||||
Permanent permanent = ((ZoneChangeEvent) event).getTarget();
|
Permanent permanent = ((ZoneChangeEvent) event).getTarget();
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
Player player = game.getPlayer(permanent.getControllerId());
|
Player player = game.getPlayer(permanent.getControllerId());
|
||||||
if (player == null) {
|
if (player != null) {
|
||||||
return player.moveCards(permanent, Zone.EXILED, source, game);
|
return player.moveCards(permanent, Zone.EXILED, source, game);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue