mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-06-22 20:55:04 +02:00
Compare commits
3 Commits
ed80c3ae89
...
708ac50a08
Author | SHA1 | Date | |
---|---|---|---|
|
708ac50a08 | ||
|
6e1751733f | ||
|
6335af840b |
|
@ -61,6 +61,11 @@ class LibraryLoader
|
|||
logger.log( Level.INFO, "Downloading {0}", event.getResource().getRepositoryUrl() + event.getResource().getResourceName() );
|
||||
}
|
||||
} );
|
||||
|
||||
// SPIGOT-7638: Add system properties,
|
||||
// since JdkVersionProfileActivator needs 'java.version' when a profile has the 'jdk' element
|
||||
// otherwise it will silently fail and not resolves the dependencies in the affected pom.
|
||||
session.setSystemProperties( System.getProperties() );
|
||||
session.setReadOnly();
|
||||
|
||||
this.repositories = repository.newResolutionRepositories( session, Arrays.asList( new RemoteRepository.Builder( "central", "default", "https://repo.maven.apache.org/maven2" ).build() ) );
|
||||
|
|
|
@ -107,6 +107,9 @@ public class HandlerBoss extends ChannelInboundHandlerAdapter
|
|||
} );
|
||||
|
||||
channel.setRemoteAddress( newAddress );
|
||||
} else
|
||||
{
|
||||
channel.close();
|
||||
}
|
||||
} finally
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user