mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
added isOp api
This commit is contained in:
parent
6f07a1bbb2
commit
0a2f2c7b45
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…
Add table
Reference in a new issue