Commit 7600f706 authored by Melledy's avatar Melledy
Browse files

Move `QuestEncryptionKeys` to `resources/`

parent 2fe6bcf2
...@@ -418,7 +418,7 @@ public class ResourceLoader { ...@@ -418,7 +418,7 @@ public class ResourceLoader {
GameData.getMainQuestDataMap().put(mainQuest.getId(), mainQuest); 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( List<QuestEncryptionKey> keys = Grasscutter.getGsonFactory().fromJson(
reader, reader,
TypeToken.getParameterized(List.class, QuestEncryptionKey.class).getType()); TypeToken.getParameterized(List.class, QuestEncryptionKey.class).getType());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment