From 6acfe2ae5f9705cd230230836d4bc3c2d1ecaae6 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Tue, 27 Jul 2021 05:52:14 +0400 Subject: [PATCH] * Delitium, card types in graveyard - fixed wrong text in card hint (fix #8053); --- .../mage/abilities/hint/common/CardTypesInGraveyardHint.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/hint/common/CardTypesInGraveyardHint.java b/Mage/src/main/java/mage/abilities/hint/common/CardTypesInGraveyardHint.java index 95d87660ba..1f564226b0 100644 --- a/Mage/src/main/java/mage/abilities/hint/common/CardTypesInGraveyardHint.java +++ b/Mage/src/main/java/mage/abilities/hint/common/CardTypesInGraveyardHint.java @@ -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