In Minecraft Forge, I would like to know if there is any way to find out if a player currently has vanilla "OP" / "Operator" status. I can't find a method that does this on the EntityPlayer Class.
I'd like something like:
EntityPlayer player = (EntityPlayer)sender;
if (player.getOpStatus) {
[do some stuff]
}