Steps to Reproduce:
1) Open a singleplayer world
2) Hold an item
2) Press F3+Esc
3) Press Q whilst the game is paused
4) Unpause
5) The item is thrown as soon as the game is unpaused
Note:
Can cause ghost items
Steps to Reproduce:
1) Open a singleplayer world
2) Hold an item
2) Press F3+Esc
3) Press Q whilst the game is paused
4) Unpause
5) The item is thrown as soon as the game is unpaused
Note:
Can cause ghost items
I can confirm for 1.20.2-rc, it doesn't work on 1.20.1.
Other affected keys are:
f3 (to toggle f3 menu)
some f3 + [key] options
the f3 + f4 menu resumes the game immediately*
open chat/command key
inventory key
all hotbar slot 1-9 keys
*for some reason, resuming the game in this way doesn't have this issue
press f3 + esc, then q, then esc: the item drops
press f3 + esc, then q, then f3 + f4: game resumes, but the item doesn't drop