mojira.dev
MC-130441

/locate still returns coordinates when structure generation is disabled

Expected output:

'Could not find that structure nearby.' (or whatever the command says when it fails)

Returned output:

'The nearest <structure> is [coords].'

The bug

The /locate command returns coordinates of structures even in worlds when structure generation is disabled.

To recreate

  1. Create a new world where generate-structures=false.

  2. Use /locate <structure> and observe the output.

  3. Click the coordinates to travel there.

  4. There is no structure because structure generation is disabled.

  5. Command should output there is no structure nearby.

Linked issues

Comments

kumasasa

Putting your repro-steps into MC-108011

Tedstar (Curtis Anderson)

(Unassigned)

Unconfirmed

command, coordinates, locate, ocean-ruins, output, structure, village, world-generation

Minecraft 18w22a

Retrieved