Merge pull request #1989 from spjspj/master

spjspj - Clean up code for Eye of the Storm (RAV)
This commit is contained in:
spjspj 2016-06-11 18:17:38 +10:00 committed by GitHub
commit 99c105d726

View file

@ -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());