mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 03:53:00 +08:00
Move QuestEncryptionKeys
to resources/
This commit is contained in:
parent
2fe6bcf2cf
commit
7600f706b5
@ -418,7 +418,7 @@ public class ResourceLoader {
|
||||
GameData.getMainQuestDataMap().put(mainQuest.getId(), mainQuest);
|
||||
}
|
||||
|
||||
try (Reader reader = DataLoader.loadReader("QuestEncryptionKeys.json")) {
|
||||
try (Reader reader = new FileReader(new File(RESOURCE("QuestEncryptionKeys.json")))) {
|
||||
List<QuestEncryptionKey> keys = Grasscutter.getGsonFactory().fromJson(
|
||||
reader,
|
||||
TypeToken.getParameterized(List.class, QuestEncryptionKey.class).getType());
|
||||
|
Loading…
Reference in New Issue
Block a user