mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 03:42:57 +08:00
Format code [skip actions]
This commit is contained in:
parent
c3339de184
commit
31cef88ef7
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user