mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Merge pull request #546 from TheGreatFohl/master
Fixed the ability of Whirpool Rider
This commit is contained in:
commit
8b4a74bc0d
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue