added isOp api

By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-01-18 22:32:05 -05:00
parent 2c532f4d88
commit 4676f99999

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
*