mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-26 15:22:56 +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);
|
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());
|
||||||
|
Loading…
Reference in New Issue
Block a user