mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Potentially fixed a common ConcurrentModificationException.
This commit is contained in:
@@ -4603,7 +4603,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
*
|
||||
* @return a {@link java.util.ArrayList} object.
|
||||
*/
|
||||
public final ArrayList<String> getHiddenExtrinsicKeyword() {
|
||||
public final synchronized ArrayList<String> getHiddenExtrinsicKeyword() {
|
||||
while (true) {
|
||||
try {
|
||||
final ArrayList<String> keywords = new ArrayList<String>();
|
||||
@@ -4623,7 +4623,6 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* addHiddenExtrinsicKeyword.
|
||||
|
||||
Reference in New Issue
Block a user