mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 04:15:34 +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.
|
// Create a region info object.
|
||||||
var regionInfo =
|
var regionInfo =
|
||||||
RegionInfo.newBuilder()
|
RegionInfo.newBuilder()
|
||||||
.setGateserverIp(region.Ip)
|
.setGateserverIp(region.Ip)
|
||||||
.setGateserverPort(region.Port)
|
.setGateserverPort(region.Port)
|
||||||
.build();
|
.build();
|
||||||
// Create an updated region query.
|
// Create an updated region query.
|
||||||
var updatedQuery = QueryCurrRegionHttpRsp.newBuilder()
|
var updatedQuery =
|
||||||
.setRegionInfo(regionInfo)
|
QueryCurrRegionHttpRsp.newBuilder()
|
||||||
.setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED))
|
.setRegionInfo(regionInfo)
|
||||||
.build();
|
.setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED))
|
||||||
|
.build();
|
||||||
regions.put(
|
regions.put(
|
||||||
region.Name,
|
region.Name,
|
||||||
new RegionData(
|
new RegionData(
|
||||||
|
Loading…
Reference in New Issue
Block a user