From 5057ac3d3d57407976619cfd6294011aa25bda1b Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sat, 14 Mar 2020 16:36:04 +0100 Subject: [PATCH] Remove null check for channel in UserConnection again --- .../main/java/us/myles/ViaVersion/api/data/UserConnection.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/api/data/UserConnection.java b/common/src/main/java/us/myles/ViaVersion/api/data/UserConnection.java index a50354e74..40259f23b 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/data/UserConnection.java +++ b/common/src/main/java/us/myles/ViaVersion/api/data/UserConnection.java @@ -1,6 +1,5 @@ package us.myles.ViaVersion.api.data; -import com.google.common.base.Preconditions; import io.netty.buffer.ByteBuf; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; @@ -40,7 +39,6 @@ public class UserConnection { private ReadWriteLock velocityLock = new ReentrantReadWriteLock(); public UserConnection(Channel channel) { - Preconditions.checkNotNull(channel); this.channel = channel; }