added isOp api

This commit is contained in:
Tahg 2011-01-18 22:32:05 -05:00
parent 6f07a1bbb2
commit 0a2f2c7b45

View File

@ -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
*