mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Refactor how handlers encode messages
This commit is contained in:
1 parent
00b77e80e1
commit
da1856df50
73 files changed
+138
-134
No files matched your search
@@ -10,7 +10,7 @@ public class HandlerPhoneContactsInfoReq extends NetHandler {
|
||||
|
||||
@Override
|
||||
public byte[] handle(GameSession session, byte[] message) throws Exception {
|
||||
return this.encodeMsg(NetMsgId.phone_contacts_info_succeed_ack);
|
||||
return session.encodeMsg(NetMsgId.phone_contacts_info_succeed_ack);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user