Build the non-creation talent set without Set.of for the Java 8 build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
85bc807260
commit
bd04f4d692
1 file changed
+3
-1
@@ -21,7 +21,9 @@ import org.pmw.tinylog.Logger;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
@@ -32,7 +34,7 @@ public class RuneBase extends AbstractGameObject {
|
||||
public static HashMap<Integer, ArrayList<Integer>> AllowedRaceRunesMap = new HashMap<>();
|
||||
// Flagged rune_is_standard_character_creation but missing from CharCreateRuneList.cfg ATTRRUNES:
|
||||
// admin runes 2910/2911, unused duplicates, and Proficient with Bows (commented out in the cfg).
|
||||
private static final Set<Integer> NON_CREATION_TALENTS = Set.of(2910, 2911, 250081, 250116, 250117, 250123, 250124, 250125);
|
||||
private static final Set<Integer> NON_CREATION_TALENTS = new HashSet<>(Arrays.asList(2910, 2911, 250081, 250116, 250117, 250123, 250124, 250125));
|
||||
private final String name;
|
||||
private final String description;
|
||||
private final int type;
|
||||
|
||||
Reference in new issue
Block a user