mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 17:34:39 +01:00
Introduce a new arguments parser (#1629)
Original commits: * Clean-up * Introduce a new application arguments parser & handler * Clean-up and deprecate `Tools#getLanguageOption` * Fix `-debug` and `-debugall` parameters * found this while debugging, ...why * Remove deprecated parameters * Invoke startup argument parser before handbook generation * Move command map instantiation to `Grasscutter `(prevent making 3 instances on startup) * Ensure \n at EOF Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
This commit is contained in:
@@ -421,7 +421,7 @@ public class ResourceLoader {
|
||||
GameData.getMainQuestDataMap().put(mainQuest.getId(), mainQuest);
|
||||
}
|
||||
|
||||
try (Reader reader = new FileReader(new File(RESOURCE("QuestEncryptionKeys.json")))) {
|
||||
try (Reader reader = new FileReader(RESOURCE("QuestEncryptionKeys.json"))) {
|
||||
List<QuestEncryptionKey> keys = Grasscutter.getGsonFactory().fromJson(
|
||||
reader,
|
||||
TypeToken.getParameterized(List.class, QuestEncryptionKey.class).getType());
|
||||
|
||||
Reference in New Issue
Block a user