From 98cb2f3a57c07c2b7d574c892aae26964c6d954a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 May 2023 04:41:58 +0000 Subject: [PATCH] Format code [skip actions] --- .../server/http/documentation/HandbookHandler.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/emu/grasscutter/server/http/documentation/HandbookHandler.java b/src/main/java/emu/grasscutter/server/http/documentation/HandbookHandler.java index e1dea91e5..789cb5182 100644 --- a/src/main/java/emu/grasscutter/server/http/documentation/HandbookHandler.java +++ b/src/main/java/emu/grasscutter/server/http/documentation/HandbookHandler.java @@ -1,5 +1,7 @@ package emu.grasscutter.server.http.documentation; +import static emu.grasscutter.config.Configuration.HANDBOOK; + import emu.grasscutter.Grasscutter; import emu.grasscutter.Grasscutter.ServerRunMode; import emu.grasscutter.data.GameData; @@ -12,11 +14,8 @@ import emu.grasscutter.utils.FileUtils; import emu.grasscutter.utils.objects.HandbookBody; import io.javalin.Javalin; import io.javalin.http.Context; - import java.util.Objects; -import static emu.grasscutter.config.Configuration.HANDBOOK; - /** Handles requests for the new GM Handbook. */ public final class HandbookHandler implements Router { private final byte[] handbook; @@ -272,8 +271,7 @@ public final class HandbookHandler implements Router { // Create the entity. for (var i = 1; i <= request.getAmount(); i++) { - var entity = new EntityMonster(scene, entityData, - player.getPosition(), level); + var entity = new EntityMonster(scene, entityData, player.getPosition(), level); scene.addEntity(entity); }