mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Little safety fix for removeAllExtrinsicKeyword.
This commit is contained in:
@@ -4457,11 +4457,8 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
public void removeAllExtrinsicKeyword(final String s) {
|
public void removeAllExtrinsicKeyword(final String s) {
|
||||||
final ArrayList<String> strings = new ArrayList<String>();
|
final ArrayList<String> strings = new ArrayList<String>();
|
||||||
strings.add(s);
|
strings.add(s);
|
||||||
if (s.startsWith("HIDDEN")) {
|
this.hiddenExtrinsicKeyword.removeAll(strings);
|
||||||
this.hiddenExtrinsicKeyword.removeAll(strings);
|
this.extrinsicKeyword.removeAll(strings);
|
||||||
} else {
|
|
||||||
this.extrinsicKeyword.removeAll(strings);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user