Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 09:00:09 +01:00
Remove null check for channel in UserConnection again
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren