Formatting & dependency updates
This commit is contained in:
@@ -255,7 +255,7 @@ public final class UserConnection implements ProxiedPlayer
|
||||
|
||||
if ( getServer() == null && !ch.isClosing() )
|
||||
{
|
||||
throw new IllegalStateException("Cancelled ServerConnectEvent with no server or disconnect.");
|
||||
throw new IllegalStateException( "Cancelled ServerConnectEvent with no server or disconnect." );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@@ -85,7 +85,7 @@ public class Configuration implements ProxyConfig
|
||||
throttle = adapter.getInt( "connection_throttle", throttle );
|
||||
ipForward = adapter.getBoolean( "ip_forward", ipForward );
|
||||
compressionThreshold = adapter.getInt( "network_compression_threshold", compressionThreshold );
|
||||
preventProxyConnections = adapter.getBoolean( "prevent_proxy_connections", preventProxyConnections);
|
||||
preventProxyConnections = adapter.getBoolean( "prevent_proxy_connections", preventProxyConnections );
|
||||
|
||||
disabledCommands = new CaseInsensitiveSet( (Collection<String>) adapter.getList( "disabled_commands", Arrays.asList( "disabledcommandhere" ) ) );
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
package net.md_5.bungee.connection;
|
||||
|
||||
import com.google.common.base.Objects;
|
||||
import com.google.common.base.Preconditions;
|
||||
import com.google.common.io.ByteArrayDataOutput;
|
||||
import com.google.common.io.ByteStreams;
|
||||
|
@@ -562,7 +562,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
return (name != null ) ? name : ( loginRequest == null ) ? null : loginRequest.getData();
|
||||
return ( name != null ) ? name : ( loginRequest == null ) ? null : loginRequest.getData();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user