mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Delitium, card types in graveyard - fixed wrong text in card hint (fix #8053);
This commit is contained in:
parent
9c84804816
commit
6acfe2ae5f
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue