mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-19 17:19:58 +02:00
Refactor how handlers encode messages
This commit is contained in:
@@ -10,7 +10,7 @@ public class HandlerAgentApplyReq extends NetHandler {
|
||||
|
||||
@Override
|
||||
public byte[] handle(GameSession session, byte[] message) throws Exception {
|
||||
return this.encodeMsg(NetMsgId.agent_apply_failed_ack);
|
||||
return session.encodeMsg(NetMsgId.agent_apply_failed_ack);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user