diff --git a/src/main/java/emu/grasscutter/server/game/GameSessionManager.java b/src/main/java/emu/grasscutter/server/game/GameSessionManager.java index 26146b81f..fde9317fd 100644 --- a/src/main/java/emu/grasscutter/server/game/GameSessionManager.java +++ b/src/main/java/emu/grasscutter/server/game/GameSessionManager.java @@ -5,11 +5,12 @@ import emu.grasscutter.utils.Utils; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.DefaultEventLoop; -import java.net.InetSocketAddress; -import java.util.concurrent.ConcurrentHashMap; import kcp.highway.KcpListener; import kcp.highway.Ukcp; +import java.net.InetSocketAddress; +import java.util.concurrent.ConcurrentHashMap; + public class GameSessionManager { private static final DefaultEventLoop logicThread = new DefaultEventLoop(); private static final ConcurrentHashMap sessions = new ConcurrentHashMap<>(); @@ -95,7 +96,7 @@ public class GameSessionManager { return listener; } - interface KcpTunnel { + public interface KcpTunnel { InetSocketAddress getAddress(); void writeData(byte[] bytes);