mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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) {
|
||||
final ArrayList<String> strings = new ArrayList<String>();
|
||||
strings.add(s);
|
||||
if (s.startsWith("HIDDEN")) {
|
||||
this.hiddenExtrinsicKeyword.removeAll(strings);
|
||||
} else {
|
||||
this.extrinsicKeyword.removeAll(strings);
|
||||
}
|
||||
this.hiddenExtrinsicKeyword.removeAll(strings);
|
||||
this.extrinsicKeyword.removeAll(strings);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user