Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-169433

The isOp method of the Player class returns true no matter what

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.73
    • None
    • Unconfirmed
    • Windows

      When creating a javascript script with the Beta API, the bool function "isOp"  will always return true whether or not the player it is being run on is an operator.

      Steps to reproduce:

      1. Create a new behavior pack with a js scripting module
      2. In that module, create a function to output whether or not the player has Op
      3. deop and op yourself in game and see

       

            IolaireEagle IolaireEagle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: