diff --git a/pom.xml b/pom.xml index 7a709831e0..7625495151 100644 --- a/pom.xml +++ b/pom.xml @@ -72,7 +72,7 @@ unknown - 4.0.40.Final + 4.1.5.Final 1.7 1.7 UTF-8 diff --git a/proxy/pom.xml b/proxy/pom.xml index 55bba906a5..515f2eef19 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -25,6 +25,12 @@ ${netty.version} compile + + io.netty + netty-handler + ${netty.version} + compile + io.netty netty-transport-native-epoll diff --git a/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java b/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java index 621a06c8cb..a274dde7c9 100644 --- a/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java +++ b/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java @@ -41,9 +41,9 @@ public class PipelineUtils { - public static final AttributeKey LISTENER = new AttributeKey<>( "ListerInfo" ); - public static final AttributeKey USER = new AttributeKey<>( "User" ); - public static final AttributeKey TARGET = new AttributeKey<>( "Target" ); + public static final AttributeKey LISTENER = AttributeKey.valueOf( "ListerInfo" ); + public static final AttributeKey USER = AttributeKey.valueOf( "User" ); + public static final AttributeKey TARGET = AttributeKey.valueOf( "Target" ); public static final ChannelInitializer SERVER_CHILD = new ChannelInitializer() { @Override