From 59b32a862105bbfc3526d36dbf76b50eeb03f404 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 28 Sep 2013 17:37:30 +1000 Subject: [PATCH] Remove access from PendingConnection interface --- .../net/md_5/bungee/api/connection/PendingConnection.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java b/api/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java index 0334afc6..fba6e4f7 100644 --- a/api/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java +++ b/api/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java @@ -14,26 +14,26 @@ public interface PendingConnection extends Connection * * @return the requested username, or null if not set */ - public String getName(); + String getName(); /** * Get the numerical client version of the player attempting to log in. * * @return the protocol version of the remote client */ - public byte getVersion(); + byte getVersion(); /** * Get the requested virtual host that the client tried to connect to. * * @return request virtual host or null if invalid / not specified. */ - public InetSocketAddress getVirtualHost(); + InetSocketAddress getVirtualHost(); /** * Get the listener that accepted this connection. * * @return the accepting listener */ - public ListenerInfo getListener(); + ListenerInfo getListener(); }