Skip to content

Commit

Permalink
Merge pull request Grasscutters#1586 from Birdulon/development
Browse files Browse the repository at this point in the history
Suppress stacktrace on missing questkeys file
  • Loading branch information
KingRainbow44 authored Jul 27, 2022
2 parents 6ba4846 + 0d91162 commit 3054071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/emu/grasscutter/data/ResourceLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ private static void loadQuests() {
Int2ObjectMap<QuestEncryptionKey> questEncryptionMap = GameData.getMainQuestEncryptionMap();
keys.forEach(key -> questEncryptionMap.put(key.getMainQuestId(), key));
Grasscutter.getLogger().debug("Loaded {} quest keys.", questEncryptionMap.size());
} catch (FileNotFoundException ignored) {
Grasscutter.getLogger().error("Unable to load quest keys - ./resources/QuestEncryptionKeys.json not found.");
} catch (Exception e) {
Grasscutter.getLogger().error("Unable to load quest keys.", e);
}
Expand Down

0 comments on commit 3054071

Please sign in to comment.