mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 11:26:07 +00:00
Update HandlerPlayerForceExitReq.java
This commit is contained in:
parent
3e64aefbc0
commit
e784b43691
@ -12,6 +12,6 @@ public class HandlerPlayerForceExitReq extends PacketHandler {
|
|||||||
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
|
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
|
||||||
// Client should auto disconnect right now
|
// Client should auto disconnect right now
|
||||||
session.send(new BasePacket(PacketOpcodes.PlayerForceExitRsp));
|
session.send(new BasePacket(PacketOpcodes.PlayerForceExitRsp));
|
||||||
session.getPlayer().onLogout();
|
session.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user