ReturnToHandAttachedEffect - Fixed incorrect zcc check (Fixes #7885 #7890)

This commit is contained in:
Daniel Bomar 2021-06-08 15:49:32 -05:00
parent 4232b1e789
commit 91df970a87
No known key found for this signature in database
GPG key ID: C86C8658F4023918

View file

@ -36,7 +36,7 @@ public class ReturnToHandAttachedEffect extends OneShotEffect {
return false;
}
Card card = permanent.getMainCard();
if (permanent.getZoneChangeCounter(game) != card.getZoneChangeCounter(game) + 1) {
if (permanent.getZoneChangeCounter(game) + 1 != card.getZoneChangeCounter(game)) {
return false;
}
return player.moveCards(card, Zone.HAND, source, game);