added isOp api
This commit is contained in:
parent
6f07a1bbb2
commit
0a2f2c7b45
@ -15,6 +15,13 @@ public interface Player extends HumanEntity {
|
|||||||
*/
|
*/
|
||||||
public boolean isOnline();
|
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
|
* Sends this player a message, which will be displayed in their chat
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user