@@ -2291,6 +2291,16 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
// Spigot start
|
||||
public class Spigot extends Entity.Spigot {
|
||||
|
||||
/**
|
||||
* Gets the connection address of this player, regardless of whether it
|
||||
* has been spoofed or not.
|
||||
*
|
||||
* @return the player's connection address
|
||||
*/
|
||||
@NotNull
|
||||
public InetSocketAddress getRawAddress() {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user