SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender

This commit is contained in:
md_5 2023-08-26 18:19:18 +10:00
parent 82af5dc60e
commit 6b34da8f0c
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -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();
}