Skip to content

Commit 7df79a1

Browse files
author
Evan Hu
committed
fix compile error
1 parent e5212e0 commit 7df79a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/info/xiaomo/gengine/network/mina/code/ClientProtocolEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ && getOverScheduledWriteBytesHandler().test(session)) {
3838

3939
IoBuffer buf = null;
4040
if (obj instanceof Message) {
41-
buf = MsgUtil.toGameClientIobuffer((Message) obj);
41+
buf = MsgUtil.toGameClientIoBuffer((Message) obj);
4242
} else if (obj instanceof byte[]) {
4343
byte[] data = (byte[]) obj; // 消息ID(4字节)+protobuf
4444
buf = IoBuffer.allocate(data.length + 6);

0 commit comments

Comments
 (0)