Hotbar slot: Broken item replaced; sprites and description missing
When the player's inventory is full, and the tool in the currently-selected hotbar slot breaks:
If an item is available nearby for the player to pick up at the time, then the hotbar slot may be filled with an item which does not appear to be available - no item sprite nor description are displayed in the hotbar slot.
Steps to reproduce (version 1.18.2):
- Connect to Realms server.
- Fill player's inventory with items, including hotbar.
- Set Game Mode to Survival.
- Select the pickaxe tool from the hotbar.
- While standing near an entity on the ground which is available to pick up, cause the tool to break.
Observed Results:
The player picks up the nearby item. The "pickup entity" sound plays after the tool breaking sound, as expected.
The selected hotbar slot (where the tool was previously held) appears empty.
The player is unable to move items into the affected hotbar slot.
When the hotbar slot is selected, only the player's hand appears, with no item held.
No description is shown for the hotbar slot.
However, if the player disconnects from the Realms session and then re-connects, the affected hotbar slot appears normally - with the newly-acquired item visible in the slot and working as expected:
- Disconnect from Realms server.
- Re-connect to the Realms server.
- The player sees the item which has occupied the formerly "empty" hotbar slot.
Expected Results:
When the tool in the selected hotbar slot breaks, it should be made empty so that it can be filled once more. Any items which occupy the slot should work normally - the sprite for the item should appear in the hotbar and in the player's hand, and the item's description should appear in the selected hotbar slot.
Notes:
This issue does not appear to be something which I am able to reproduce on single-player mode.
2022-02-07, 06:06 AM
2024-01-22, 11:14 PM
2024-01-22, 11:14 PM
0
2
714848
-