mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Added support for plugins to get the current server a player is on.
This commit is contained in:
parent
608ca78be1
commit
393562ff5a
@ -127,6 +127,11 @@ public class UserConnection extends GenericConnection implements CommandSender
|
||||
}
|
||||
}
|
||||
|
||||
public String getServer()
|
||||
{
|
||||
return server.name;
|
||||
}
|
||||
|
||||
public SocketAddress getAddress()
|
||||
{
|
||||
return socket.getRemoteSocketAddress();
|
||||
|
Loading…
Reference in New Issue
Block a user