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

In MinecraftServer API, setOp() will cause host can't use /setmaxplayer anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.41 Hotfix
    • None
    • Unconfirmed
    • Multiple

      It banned me to use /setmaxplayer in a localword
      Code:

      import { world } from "@minecraft/server"

      world.getPlayers()[0].setOp(false)
      world.getPlayers()[0].setOp(true)

      after that, /setmaxplayers can't be used, and also after restart. Still don't recovered

            jasonlaubb jasonlaubb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: