Jump to content

[1.8] Check if player is Op?


Recommended Posts

In 1.7.10 I could check if a player was op by using

ConfigHandler.func_152596_g(((EntityPlayerMP) player).getGameProfile());

However this changed in 1.8 and I can't seem to find a way to check if a player is op. Op meaning they are either op on a multiplayer server or the host of a lan server or on singleplayer with cheats (That function covered all of them) If anyone knows what the method changed to please let me know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.