mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
This commit is contained in:
parent
82af5dc60e
commit
6b34da8f0c
1 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,17 @@
|
||||||
package org.bukkit.command;
|
package org.bukkit.command;
|
||||||
|
|
||||||
|
import java.net.SocketAddress;
|
||||||
|
import org.jetbrains.annotations.ApiStatus;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public interface RemoteConsoleCommandSender extends CommandSender {
|
public interface RemoteConsoleCommandSender extends CommandSender {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the socket address of this remote sender.
|
||||||
|
*
|
||||||
|
* @return the remote sender's address
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
|
@ApiStatus.Experimental
|
||||||
|
public SocketAddress getAddress();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue