Archived
0

fix protocol name

This commit is contained in:
2018-06-17 14:20:56 +03:00
parent f2afa4a059
commit 42ce61fa9c
2 changed files with 6 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ import lombok.extern.slf4j.Slf4j;
import mc.core.network.Server;
import mc.core.network.StartServerException;
import mc.core.network.proto_1_12_2.State;
import mc.core.network.proto_1_12_2.packets.StatusResponsePacket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
@@ -58,7 +59,7 @@ public class NettyServer implements Server {
@Override
public void start() throws StartServerException {
log.info("Use protocol 1.7.10");
log.info("Use protocol {}", StatusResponsePacket.NAME);
bossGroup = new NioEventLoopGroup(1);
workerGroup = new NioEventLoopGroup(workerGroupCount);