3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-17 01:23:43 +02:00

Remove null check for channel in UserConnection again

Dieser Commit ist enthalten in:
KennyTV 2020-03-14 16:36:04 +01:00
Ursprung 4b9d3e34ea
Commit 5057ac3d3d

Datei anzeigen

@ -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;
}