Mojira Archive
MCPE-169433

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

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

 

Incomplete

IolaireEagle

2023-04-10, 10:23 PM

2024-02-01, 05:09 PM

2024-02-01, 05:09 PM

0

0

Unconfirmed

1.19.73

-