Commit d5866dd3 authored by zhaodice's avatar zhaodice Committed by Melledy
Browse files

Update HandlerPlayerForceExitReq.java

parent 6e900671
...@@ -12,6 +12,6 @@ public class HandlerPlayerForceExitReq extends PacketHandler { ...@@ -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();
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment