mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 00:15:33 +01:00
Update HandlerPlayerForceExitReq.java
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user