From 1b7fa84d5b48c67f920ff9d3202ceb9bda80bdc5 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 06 五月 2025 19:36:06 +0800 Subject: [PATCH] 地图绘制完成 --- src/main/java/com/zy/core/netty/handle/ProtocolEncoder.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/core/netty/handle/ProtocolEncoder.java b/src/main/java/com/zy/core/netty/handle/ProtocolEncoder.java index 4da18a9..68bb0fb 100644 --- a/src/main/java/com/zy/core/netty/handle/ProtocolEncoder.java +++ b/src/main/java/com/zy/core/netty/handle/ProtocolEncoder.java @@ -27,7 +27,7 @@ @Override protected void encode(ChannelHandlerContext ctx, Object obj, ByteBuf out) { boolean upgradeLog = true; - if (obj instanceof ByteBuf){ + if (obj instanceof ByteBuf) { out.writeBytes((ByteBuf) obj); } else if (obj instanceof byte[]) { out.writeBytes((byte[]) obj); -- Gitblit v1.9.1