diff --git a/src/main/java/emu/grasscutter/game/ability/AbilityManager.java b/src/main/java/emu/grasscutter/game/ability/AbilityManager.java index 6be1c33a9..b5bef4276 100644 --- a/src/main/java/emu/grasscutter/game/ability/AbilityManager.java +++ b/src/main/java/emu/grasscutter/game/ability/AbilityManager.java @@ -23,7 +23,6 @@ import emu.grasscutter.server.event.player.PlayerUseSkillEvent; import io.netty.util.concurrent.FastThreadLocalThread; import java.util.*; import java.util.concurrent.*; -import java.util.function.Consumer; import lombok.Getter; public final class AbilityManager extends BasePlayerManager { @@ -103,7 +102,8 @@ public final class AbilityManager extends BasePlayerManager { this.abilityInvulnerable = true; this.player .getEnergyManager() - .handleEvtDoSkillSuccNotify(this.player.getSession(), this.burstSkillId, this.burstCasterId); + .handleEvtDoSkillSuccNotify( + this.player.getSession(), this.burstSkillId, this.burstCasterId); this.removePendingEnergyClear(); } } diff --git a/src/main/java/emu/grasscutter/game/tower/TowerManager.java b/src/main/java/emu/grasscutter/game/tower/TowerManager.java index aeb006be5..505543c12 100644 --- a/src/main/java/emu/grasscutter/game/tower/TowerManager.java +++ b/src/main/java/emu/grasscutter/game/tower/TowerManager.java @@ -29,7 +29,7 @@ public class TowerManager extends BasePlayerManager { return this.getTowerData().currentFloorId; } - /** floor number: 1 - 12 **/ + /** floor number: 1 - 12 * */ public int getCurrentFloorNumber() { return GameData.getTowerFloorDataMap().get(getCurrentFloorId()).getFloorIndex(); } diff --git a/src/main/java/emu/grasscutter/game/world/Scene.java b/src/main/java/emu/grasscutter/game/world/Scene.java index baa6d0aaf..98047d1fc 100644 --- a/src/main/java/emu/grasscutter/game/world/Scene.java +++ b/src/main/java/emu/grasscutter/game/world/Scene.java @@ -771,8 +771,7 @@ public class Scene { if (getDungeonManager() != null) { return getDungeonManager().getLevelForMonster(configId); } else if (getWorld().getWorldLevel() > 0) { - var worldLevelData = - GameData.getWorldLevelDataMap().get(getWorld().getWorldLevel()); + var worldLevelData = GameData.getWorldLevelDataMap().get(getWorld().getWorldLevel()); if (worldLevelData != null) { return worldLevelData.getMonsterLevel();