mojira.dev
MC-306462

Trying to locate a structure on a server with structure generation disabled causes the server to crash from watchdog

When using the locate command for any structure (e.g. /locate structure #minecraft:village) and the in the server.properties generate-structures=false is set, the server crashes.

Steps To Reproduce

  1. Create a server, accept eula and set server.properties generate-structures=false

  2. Start the server

  3. Join the server

  4. Op yourself using the server console

  5. Execute /locate structure #minecraft:village

Observed Behavior

The server crashes after executing the command.

Expected Behavior

The server should not crash and an error message indicating that there are no structures in the world should be sent.

Linked issues

Attachments

Comments 2

The Environment field is supposed to only contain PC details.

MrKinau

(Unassigned)

Confirmed

Crash

1.21.11, 26.1 Snapshot 8

Retrieved