fixed incomplete code

This commit is contained in:
Evan Kranzler 2021-02-25 10:50:29 -05:00
parent 35be23537f
commit 1f6332d658

View file

@ -77,13 +77,13 @@ public class ReturnToHandFromGraveyardAllEffect extends OneShotEffect {
if (staticText != null && !staticText.isEmpty()) { if (staticText != null && !staticText.isEmpty()) {
return staticText; return staticText;
} }
String rule="";
switch (targetController) { switch (targetController) {
case EACH_PLAYER: case OPPONENT:
rule+="each player";break; return "each opponent returns each " + filter.getMessage() + " from their graveyard to their hand";
case OPPONENT:rule+="opponent";break;
case YOU: case YOU:
return "return each " + filter.getMessage() + " from your graveyard to your hand";
default:
return "each player returns each " + filter.getMessage() + " from their graveyard to their hand";
} }
} }
} }