mojira.dev
MC-123176

Crash when attempting to auto-complete coordinates whilst looking at an entity

The bug

I was playing with some of the 17w49b snapshot features, building some stuff, and I teleported a slime with {Size:1,Invulnerable:1b,NoAI:1b,NoGravity:1b} tags (though that doesn't affect the bug) inside a block. I wanted to remove that block using /setblock and then auto-complete the coordinates, but my game crashed!

Steps to reproduce

  1. Go into a world in 17w50a

  2. Spawn an entity (minecraft:slime recommended with {Size:1,NoAI:1b} tags)

  3. Look at the entity and press the SLASH (/) key

  4. Type in /setblock and try to auto-complete the coordinates

  5. The game crashes.

Note

The crash timing depends on the "Command suggestion" option in

Esc --> Settings --> Chat settings.

  • If on, the crash ocurrs when pressing space after typing in "/setblock"

  • If off, the crash ocurrs when trying to auto complete coordinates, inputting them without pressing tab doesn't crash the game. (not tested)

Linked issues

Comments 1

SnipUndercover

(Unassigned)

Unconfirmed

Minecraft 17w50a

Retrieved