mojira.dev
MC-275293

Internal exception when picking blocks not in hotbar but in inventory

Crash when middle-clicking a placed block where that block exists in my inventory but isn't on my toolbar.

Steps to reproduce:

  1. Go into Survival mode if not in it already

  2. Obtain 2 of the same block (e. g. dirt)

  3. Place a block down

  4. Put the other block in your inventory

  5. Pick block the block that was placed down

Linked issues

MC-275327 Pick blocking a block that is in a slot outside of the hotbar crashes the world Resolved MC-275438 Using pick block kicks you from the server Resolved MC-275452 Using pick block on blocks in your inventory causes the connection to be lost Resolved MC-275535 Pick blocking a block that is in the players inventory while in survival mode, causes the world to crash. Resolved MC-275542 When pressing the middle button in survival, it sends you back to home screen Resolved

Attachments

Comments 2

I can confirm this issue. I would recommend uploading the network protocol error so that it can be easily read and deobfuscated.

This issue only occurs when a hotbar slot is empty.

This issue also occurs on Adventure and Spectator modes.  The picked block is in the hotbar instead of the inventory when the world is reopened.

NValin

boq

Confirmed

Platform

Very Important

Crash

24w33a

24w34a

Retrieved