* Delitium, card types in graveyard - fixed wrong text in card hint (fix #8053);

This commit is contained in:
Oleg Agafonov 2021-07-27 05:52:14 +04:00
parent 9c84804816
commit 6acfe2ae5f

View file

@ -18,6 +18,7 @@ import java.util.stream.Stream;
* @author JayDi85
*/
public enum CardTypesInGraveyardHint implements Hint {
YOU("your graveyard"),
ALL("all graveyards"),
OPPONENTS("your opponents' graveyards");
@ -42,9 +43,9 @@ public enum CardTypesInGraveyardHint implements Hint {
.collect(Collectors.toList());
String message = "" + types.size();
if (types.size() > 0) {
message += " (" + String.join(" , ", types) + ')';
message += " (" + String.join(", ", types) + ')';
}
return "Card types in " + message + ": " + message;
return "Card types in " + this.message + ": " + message;
}
@Override