Move `QuestEncryptionKeys` to `resources/`

This commit is contained in:
Melledy 2022-07-26 08:22:27 -07:00
parent 2fe6bcf2cf
commit 7600f706b5
1 changed files with 1 additions and 1 deletions

View File

@ -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());