mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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.
|
* @return a {@link java.util.ArrayList} object.
|
||||||
*/
|
*/
|
||||||
public final ArrayList<String> getHiddenExtrinsicKeyword() {
|
public final synchronized ArrayList<String> getHiddenExtrinsicKeyword() {
|
||||||
while (true) {
|
while (true) {
|
||||||
try {
|
try {
|
||||||
final ArrayList<String> keywords = new ArrayList<String>();
|
final ArrayList<String> keywords = new ArrayList<String>();
|
||||||
@@ -4623,7 +4623,6 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* addHiddenExtrinsicKeyword.
|
* addHiddenExtrinsicKeyword.
|
||||||
|
|||||||
Reference in New Issue
Block a user