mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Merge pull request #1989 from spjspj/master
spjspj - Clean up code for Eye of the Storm (RAV)
This commit is contained in:
commit
99c105d726
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…
Reference in a new issue