Revert "Run spotlessApply"

This reverts commit d67e2d0c5e.
This commit is contained in:
KingRainbow44
2023-05-03 10:48:00 -04:00
Unverified
parent 40a7d088d0
commit 3df5f79ebf
1412 changed files with 1213844 additions and 1308701 deletions
@@ -490,16 +490,14 @@ public final class ResourceLoader {
private static void loadQuests() {
try (var files = Files.list(getResourcePath("BinOutput/Quest/"))) {
files.forEach(
path -> {
try {
val mainQuest = JsonUtils.loadToClass(path, MainQuestData.class);
GameData.getMainQuestDataMap().put(mainQuest.getId(), mainQuest);
files.forEach(path -> {
try {
val mainQuest = JsonUtils.loadToClass(path, MainQuestData.class);
GameData.getMainQuestDataMap().put(mainQuest.getId(), mainQuest);
mainQuest.onLoad(); // Load the quest data.
} catch (IOException ignored) {
}
});
mainQuest.onLoad(); // Load the quest data.
} catch (IOException ignored) { }
});
} catch (IOException e) {
Grasscutter.getLogger().error("Quest data missing");
return;