mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
spjspj - Clean up code for Eye of the Storm (RAV)
This commit is contained in:
parent
ac910ca881
commit
4944d8ed69
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class EyeOfTheStormEffect1 extends OneShotEffect {
|
|||
card = game.getCard(uuid);
|
||||
|
||||
// Check if owner of card is still in game
|
||||
if (game.getPlayer(card.getOwnerId()) != null) {
|
||||
if (card != null && game.getPlayer(card.getOwnerId()) != null) {
|
||||
if (card.isSplitCard()) {
|
||||
copiedCards.add(((SplitCard) card).getLeftHalfCard());
|
||||
copiedCards.add(((SplitCard) card).getRightHalfCard());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue