From 31cef88ef72b8a2c64bed400b47195657b793422 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Jun 2023 18:28:59 +0000 Subject: [PATCH] Format code [skip actions] --- .../server/http/dispatch/RegionHandler.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/emu/grasscutter/server/http/dispatch/RegionHandler.java b/src/main/java/emu/grasscutter/server/http/dispatch/RegionHandler.java index 6da4a141c..fd2737953 100644 --- a/src/main/java/emu/grasscutter/server/http/dispatch/RegionHandler.java +++ b/src/main/java/emu/grasscutter/server/http/dispatch/RegionHandler.java @@ -92,15 +92,16 @@ public final class RegionHandler implements Router { // Create a region info object. var regionInfo = - RegionInfo.newBuilder() - .setGateserverIp(region.Ip) - .setGateserverPort(region.Port) - .build(); + RegionInfo.newBuilder() + .setGateserverIp(region.Ip) + .setGateserverPort(region.Port) + .build(); // Create an updated region query. - var updatedQuery = QueryCurrRegionHttpRsp.newBuilder() - .setRegionInfo(regionInfo) - .setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED)) - .build(); + var updatedQuery = + QueryCurrRegionHttpRsp.newBuilder() + .setRegionInfo(regionInfo) + .setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED)) + .build(); regions.put( region.Name, new RegionData(