Update HandlerPlayerForceExitReq.java

This commit is contained in:
zhaodice 2022-06-26 13:24:02 +08:00 committed by Melledy
parent 3e64aefbc0
commit e784b43691

View File

@ -12,6 +12,6 @@ public class HandlerPlayerForceExitReq extends PacketHandler {
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
// Client should auto disconnect right now
session.send(new BasePacket(PacketOpcodes.PlayerForceExitRsp));
session.getPlayer().onLogout();
session.close();
}
}