mojira.dev

stevarino

Assigned

No issues.

Reported

WEB-6694 1.20.30 Release announcement has incorrect command playersleepingpercentage Fixed MCPE-173980 @minecraft/server (gametest) player.isOp() returns false Duplicate MCPE-161922 Use of @a by op'd users results in "insufficient permissions for selector expansion" Duplicate

Comments

Still affects BDS 1.20.13.01.

Steps to Reproduce:
1. Run script-api command: `dimension.spawnParticle("minecraft:enchanting_table_particle", newLocation)` as documented in https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/dimension#spawnparticle

Observed Results:
Particle appears, but errors fill the content log, as described above.

Expected Results:
No errors.

Note: I was able to get rid of the `[Molang][error]-Error: accessing a variable that doesn't exist: variable.direction.x` by changing the above line the the folllowing:

 

molang.setSpeedAndDirection('variable.direction', 0.1, {
        x: newLocation.x - x, y: newLocation.y - y, z: newLocation.z - z});
      dimension.spawnParticle("minecraft:enchanting_table_particle", newLocation, molang);

But I can't seem to find a way to satisfy the error `[Molang][error]-Error: unhandled request for unknown variable `.x``

 

Similar issue is MCPE-169433 but that appears unrelated.