mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
@@ -1,6 +1,8 @@
|
||||
|
||||
package org.bukkit;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
|
||||
/**
|
||||
* Represents a player, connected or not
|
||||
*
|
||||
@@ -19,4 +21,10 @@ public interface Player extends HumanEntity {
|
||||
* @param message Message to be displayed
|
||||
*/
|
||||
public void sendMessage(String message);
|
||||
|
||||
/**
|
||||
* Gets the socket address of this player
|
||||
* @return the player's address
|
||||
*/
|
||||
public InetSocketAddress getAddress();
|
||||
}
|
||||
|
Reference in New Issue
Block a user