mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'fixstatic' into 'master'
Fix StaticAbilityContinuous wrong indentation See merge request core-developers/forge!6255
This commit is contained in:
@@ -319,18 +319,18 @@ public final class StaticAbilityContinuous {
|
|||||||
String[] restrictions = params.containsKey("SharedRestrictions") ? params.get("SharedRestrictions").split(",") : new String[] {"Card"};
|
String[] restrictions = params.containsKey("SharedRestrictions") ? params.get("SharedRestrictions").split(",") : new String[] {"Card"};
|
||||||
addKeywords = CardFactoryUtil.sharedKeywords(addKeywords, restrictions, zones, hostCard, stAb);
|
addKeywords = CardFactoryUtil.sharedKeywords(addKeywords, restrictions, zones, hostCard, stAb);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (params.containsKey("CantHaveKeyword")) {
|
if (params.containsKey("CantHaveKeyword")) {
|
||||||
cantHaveKeyword = Keyword.setValueOf(params.get("CantHaveKeyword"));
|
cantHaveKeyword = Keyword.setValueOf(params.get("CantHaveKeyword"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.containsKey("RemoveKeyword")) {
|
if (params.containsKey("RemoveKeyword")) {
|
||||||
removeKeywords = Arrays.asList(params.get("RemoveKeyword").split(" & "));
|
removeKeywords = Arrays.asList(params.get("RemoveKeyword").split(" & "));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((layer == StaticAbilityLayer.RULES) && params.containsKey("AddHiddenKeyword")) {
|
if (layer == StaticAbilityLayer.RULES && params.containsKey("AddHiddenKeyword")) {
|
||||||
addHiddenKeywords.addAll(Arrays.asList(params.get("AddHiddenKeyword").split(" & ")));
|
addHiddenKeywords.addAll(Arrays.asList(params.get("AddHiddenKeyword").split(" & ")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user