mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-18 23:34:51 +01:00
Refactor how handlers encode messages
This commit is contained in:
@@ -13,7 +13,7 @@ public class HandlerGachaNewbieInfoReq extends NetHandler {
|
||||
public byte[] handle(GameSession session, byte[] message) throws Exception {
|
||||
var rsp = GachaInformationResp.newInstance();
|
||||
|
||||
return this.encodeMsg(NetMsgId.gacha_newbie_info_succeed_ack, rsp);
|
||||
return session.encodeMsg(NetMsgId.gacha_newbie_info_succeed_ack, rsp);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user