mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 21:01:24 +01:00
SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
By: md_5 <git@md-5.net>
This commit is contained in:
parent
35c5475ecf
commit
641a55cbc5
@ -1,4 +1,17 @@
|
||||
package org.bukkit.command;
|
||||
|
||||
import java.net.SocketAddress;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
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…
Reference in New Issue
Block a user