diff --git a/src/main/java/ru/nanit/limbo/connection/ClientConnection.java b/src/main/java/ru/nanit/limbo/connection/ClientConnection.java index e43c2fd..e60de6a 100644 --- a/src/main/java/ru/nanit/limbo/connection/ClientConnection.java +++ b/src/main/java/ru/nanit/limbo/connection/ClientConnection.java @@ -272,7 +272,7 @@ public class ClientConnection extends ChannelInboundHandlerAdapter { return true; } - public static void preInitPackets(LimboServer server) { + public static void initPackets(LimboServer server) { final String username = server.getConfig().getPingData().getVersion(); final UUID uuid = UuidUtil.getOfflineModeUuid(username); diff --git a/src/main/java/ru/nanit/limbo/server/LimboServer.java b/src/main/java/ru/nanit/limbo/server/LimboServer.java index 80af77c..28df9a3 100644 --- a/src/main/java/ru/nanit/limbo/server/LimboServer.java +++ b/src/main/java/ru/nanit/limbo/server/LimboServer.java @@ -56,7 +56,7 @@ public final class LimboServer { dimensionRegistry.load(this, config.getDimensionType()); connections = new Connections(); - ClientConnection.preInitPackets(this); + ClientConnection.initPackets(this); startBootstrap();