mojira.dev
MCPE-222859

When updated to minecraft/server-2.0.0, the addon doesn't work

It’d never require any privilege before. And I’m no idea about what caused the error, but the code caused the error should be the following:

import { world, system } from "@minecraft/server";

const lvl = world.scoreboard.getObjective("level");

Attachments

Comments 1

This requist should be closed. I just found out the reason why it happens.

mingwangdada

(Unassigned)

Unconfirmed

Multiple

1.21.92 Hotfix, 1.21.90

Retrieved