Code format + fix pom
This commit is contained in:
parent
e755573fb3
commit
f81bf8e7c5
@ -14,7 +14,8 @@ import net.md_5.bungee.api.plugin.Cancellable;
|
||||
@Data
|
||||
@ToString(callSuper = false)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class PreLoginEvent extends AsyncEvent<PreLoginEvent> implements Cancellable {
|
||||
public class PreLoginEvent extends AsyncEvent<PreLoginEvent> implements Cancellable
|
||||
{
|
||||
|
||||
/**
|
||||
* Cancelled state.
|
||||
|
@ -2,7 +2,6 @@ package net.md_5.bungee.api.plugin;
|
||||
|
||||
import net.md_5.bungee.api.CommandSender;
|
||||
|
||||
|
||||
public interface TabExecutor
|
||||
{
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -19,7 +19,7 @@
|
||||
<url>https://github.com/SpigotMC/BungeeCord</url>
|
||||
<inceptionYear>2012</inceptionYear>
|
||||
<organization>
|
||||
<name>Elastic Portal Suite</name>
|
||||
<name>SpigotMC</name>
|
||||
<url>https://github.com/SpigotMC</url>
|
||||
</organization>
|
||||
<licenses>
|
||||
|
@ -97,7 +97,8 @@ public class Metrics extends TimerTask
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>Encode a key/value data pair to be used in a HTTP post request. This
|
||||
* <p>
|
||||
* Encode a key/value data pair to be used in a HTTP post request. This
|
||||
* INCLUDES a & so the first key/value pair MUST be included manually,
|
||||
* e.g:</p>
|
||||
* <code>
|
||||
|
@ -264,7 +264,7 @@ public final class UserConnection implements ProxiedPlayer
|
||||
if ( ch.getHandle().isActive() )
|
||||
{
|
||||
bungee.getLogger().log( Level.INFO, "[" + getName() + "] disconnected with: " + reason );
|
||||
unsafe().sendPacket( new Kick(reason) );
|
||||
unsafe().sendPacket( new Kick( reason ) );
|
||||
ch.close();
|
||||
if ( server != null )
|
||||
{
|
||||
|
@ -14,9 +14,11 @@ public class ThrottleTest
|
||||
ConnectionThrottle throttle = new ConnectionThrottle( 5 );
|
||||
InetAddress address;
|
||||
|
||||
try {
|
||||
try
|
||||
{
|
||||
address = InetAddress.getLocalHost();
|
||||
} catch (UnknownHostException ex) {
|
||||
} catch ( UnknownHostException ex )
|
||||
{
|
||||
address = InetAddress.getByName( null );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user