From d95c162605e29129620899ebd8551b265c03337f Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 24 Feb 2013 12:19:34 +1100 Subject: [PATCH] Fix NPE on start --- CraftBukkit-Patches/0030-Netty.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0030-Netty.patch b/CraftBukkit-Patches/0030-Netty.patch index 18b5724c4f..1091948b54 100644 --- a/CraftBukkit-Patches/0030-Netty.patch +++ b/CraftBukkit-Patches/0030-Netty.patch @@ -1,4 +1,4 @@ -From a71fdc50b01a0ebf977007cb47f0d4a839d2f76d Mon Sep 17 00:00:00 2001 +From 172038b7a42efce24c5f98e126fae460d9085d58 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 14 Feb 2013 17:32:20 +1100 Subject: [PATCH] Netty @@ -568,7 +568,7 @@ index 0000000..fe978fe +} diff --git a/src/main/java/org/spigotmc/netty/NettyServerConnection.java b/src/main/java/org/spigotmc/netty/NettyServerConnection.java new file mode 100644 -index 0000000..e388dbf +index 0000000..da8c95e --- /dev/null +++ b/src/main/java/org/spigotmc/netty/NettyServerConnection.java @@ -0,0 +1,108 @@ @@ -630,7 +630,7 @@ index 0000000..e388dbf + .addLast("manager", new NettyNetworkManager()); + } + }).group(new NioEventLoopGroup(Spigot.nettyThreads, new ThreadFactoryBuilder().setNameFormat("Netty IO Thread - %1$d").build())).localAddress(host, port).bind(); -+ Bukkit.getServer().getLogger().info("Using Netty NIO with {0} threads for network connections."); ++ MinecraftServer.log.info("Using Netty NIO with {0} threads for network connections."); + } + + /**