Fix the error that the parameter regionCache of class PacketPlayerLoginRsp is null in game only mode (#2297)

This commit is contained in:
Carl 2023-08-21 02:52:43 +08:00 committed by GitHub
parent ec53292e00
commit 4b167fc938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ public class PacketPlayerLoginRsp extends BasePacket {
.setGateserverPort(lr(GAME_INFO.accessPort, GAME_INFO.bindPort))
.build();
var regionCache =
regionCache =
QueryCurrRegionHttpRspOuterClass.QueryCurrRegionHttpRsp.newBuilder()
.setRegionInfo(serverRegion)
.setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED))