diff --git a/Mage.Sets/src/mage/cards/n/NighthawkScavenger.java b/Mage.Sets/src/mage/cards/n/NighthawkScavenger.java index 421a07b3a3..857decebbb 100644 --- a/Mage.Sets/src/mage/cards/n/NighthawkScavenger.java +++ b/Mage.Sets/src/mage/cards/n/NighthawkScavenger.java @@ -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; diff --git a/Mage.Sets/src/mage/cards/t/Tarmogoyf.java b/Mage.Sets/src/mage/cards/t/Tarmogoyf.java index ba3933ab39..3192e2c11f 100644 --- a/Mage.Sets/src/mage/cards/t/Tarmogoyf.java +++ b/Mage.Sets/src/mage/cards/t/Tarmogoyf.java @@ -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; diff --git a/Mage/src/main/java/mage/abilities/hint/common/DeliriumHint.java b/Mage/src/main/java/mage/abilities/hint/common/DeliriumHint.java index baebb2d304..b94b5c7490 100644 --- a/Mage/src/main/java/mage/abilities/hint/common/DeliriumHint.java +++ b/Mage/src/main/java/mage/abilities/hint/common/DeliriumHint.java @@ -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;