fixed some card type hints (#7050)

This commit is contained in:
Evan Kranzler 2020-09-16 17:16:17 -04:00
parent 317595346d
commit c11ba5b82a
3 changed files with 3 additions and 3 deletions

View file

@ -119,7 +119,7 @@ enum NighthawkScavengerHint implements Hint {
String message = "" + types.size();
if (types.size() > 0) {
message += " (";
message += types.stream().reduce((a, b) -> a + ", " + b);
message += types.stream().reduce((a, b) -> a + ", " + b).orElse("");
message += ')';
}
return "Card types in opponents' graveyards: " + message;

View file

@ -107,7 +107,7 @@ enum TarmogoyfHint implements Hint {
String message = "" + types.size();
if (types.size() > 0) {
message += " (";
message += types.stream().reduce((a, b) -> a + ", " + b);
message += types.stream().reduce((a, b) -> a + ", " + b).orElse("");
message += ')';
}
return "Card types in graveyards: " + message;

View file

@ -37,7 +37,7 @@ public enum DeliriumHint implements Hint {
String message = "" + types.size();
if (types.size() > 0) {
message += " (";
message += types.stream().reduce((a, b) -> a + ", " + b);
message += types.stream().reduce((a, b) -> a + ", " + b).orElse("");
message += ')';
}
return "Card types in your graveyard: " + message;