mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
added isOp api
By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
parent
2c532f4d88
commit
4676f99999
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue