mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-23 11:13:21 +08:00
fix: redundant packet 'PacketTakeAchievementRewardReq' in login req (#2321)
This commit is contained in:
parent
8563d4b574
commit
8e4e3dd89e
@ -9,7 +9,6 @@ import emu.grasscutter.net.proto.PlayerLoginReqOuterClass.PlayerLoginReq;
|
|||||||
import emu.grasscutter.server.game.GameSession;
|
import emu.grasscutter.server.game.GameSession;
|
||||||
import emu.grasscutter.server.game.GameSession.SessionState;
|
import emu.grasscutter.server.game.GameSession.SessionState;
|
||||||
import emu.grasscutter.server.packet.send.PacketPlayerLoginRsp;
|
import emu.grasscutter.server.packet.send.PacketPlayerLoginRsp;
|
||||||
import emu.grasscutter.server.packet.send.PacketTakeAchievementRewardReq;
|
|
||||||
|
|
||||||
@Opcodes(PacketOpcodes.PlayerLoginReq) // Sends initial data packets
|
@Opcodes(PacketOpcodes.PlayerLoginReq) // Sends initial data packets
|
||||||
public class HandlerPlayerLoginReq extends PacketHandler {
|
public class HandlerPlayerLoginReq extends PacketHandler {
|
||||||
@ -46,6 +45,5 @@ public class HandlerPlayerLoginReq extends PacketHandler {
|
|||||||
|
|
||||||
// Final packet to tell client logging in is done
|
// Final packet to tell client logging in is done
|
||||||
session.send(new PacketPlayerLoginRsp(session));
|
session.send(new PacketPlayerLoginRsp(session));
|
||||||
session.send(new PacketTakeAchievementRewardReq(session));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user