From c26bf08d909f4b4bac398fe691862bdd93746fcf Mon Sep 17 00:00:00 2001 From: logictc Date: Wed, 25 May 2022 20:05:07 -0400 Subject: [PATCH] fix indentation --- .../game/managers/EnergyManager/EnergyManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java b/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java index 7bedfa140..5bdb803fa 100644 --- a/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java +++ b/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java @@ -52,7 +52,7 @@ public class EnergyManager { public static void initialize() { // Read the data we need for monster energy drops. try (Reader fileReader = new InputStreamReader(DataLoader.load("EnergyDrop.json"))) { - List energyDropList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, EnergyDropEntry.class).getType()); + List energyDropList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, EnergyDropEntry.class).getType()); for (EnergyDropEntry entry : energyDropList) { energyDropData.put(entry.getDropId(), entry.getDropList()); @@ -66,7 +66,7 @@ public class EnergyManager { // Read the data for particle generation from skills try (Reader fileReader = new InputStreamReader(DataLoader.load("SkillParticleGeneration.json"))) { - List skillParticleGenerationList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, SkillParticleGenerationEntry.class).getType()); + List skillParticleGenerationList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, SkillParticleGenerationEntry.class).getType()); for (SkillParticleGenerationEntry entry : skillParticleGenerationList) { skillParticleGenerationData.put(entry.getAvatarId(), entry.getAmountList());