mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-22 23:41:27 +01:00
Remove null check for channel in UserConnection again
This commit is contained in:
parent
4b9d3e34ea
commit
5057ac3d3d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user