Merge branch 'volrath' into 'master'

Fix Mirage Mirror copying Shifting Sky turning all colorless

See merge request core-developers/forge!6042
This commit is contained in:
Hans Mackowiak
2022-01-13 08:56:58 +00:00

View File

@@ -457,7 +457,9 @@ public final class StaticAbilityContinuous {
if (params.containsKey("AddColor")) {
final String colors = params.get("AddColor");
if (colors.equals("ChosenColor")) {
addColors = ColorSet.fromNames(hostCard.getChosenColors());
if (hostCard.hasChosenColor()) {
addColors = ColorSet.fromNames(hostCard.getChosenColors());
}
} else if (colors.equals("All")) {
addColors = ColorSet.ALL_COLORS;
} else {
@@ -468,7 +470,9 @@ public final class StaticAbilityContinuous {
if (params.containsKey("SetColor")) {
final String colors = params.get("SetColor");
if (colors.equals("ChosenColor")) {
addColors = ColorSet.fromNames(hostCard.getChosenColors());
if (hostCard.hasChosenColor()) {
addColors = ColorSet.fromNames(hostCard.getChosenColors());
}
} else if (colors.equals("All")) {
addColors = ColorSet.ALL_COLORS;
} else {