Merge pull request #546 from TheGreatFohl/master

Fixed the ability of Whirpool Rider
This commit is contained in:
LevelX2 2014-08-27 22:36:00 +02:00
commit 8b4a74bc0d

View file

@ -93,8 +93,8 @@ class WhirlpoolRiderTriggeredEffect extends OneShotEffect {
Player controller = game.getPlayer(source.getControllerId()); Player controller = game.getPlayer(source.getControllerId());
if (controller != null) { if (controller != null) {
int cardsHand = controller.getHand().size(); int cardsHand = controller.getHand().size();
if (cardsHand > 0){ if (cardsHand > 0) {
Cards cards = controller.getHand(); Cards cards = controller.getHand().copy();
for (UUID cardId: cards) { for (UUID cardId: cards) {
Card card = game.getCard(cardId); Card card = game.getCard(cardId);
if (card != null) { if (card != null) {