mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05:00
1 parent
2c532f4d88
commit
4676f99999
1 file changed
+7
@@ -15,6 +15,13 @@ public interface Player extends HumanEntity {
|
||||
*/
|
||||
public boolean isOnline();
|
||||
|
||||
/**
|
||||
* Checks if this player is currently op
|
||||
*
|
||||
* @return true if they are online
|
||||
*/
|
||||
public boolean isOp();
|
||||
|
||||
/**
|
||||
* Sends this player a message, which will be displayed in their chat
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user