[Scarpet][Bug] 'player_drops_stack' and 'player_drops_item' events don't signal when dropping from inventory.
Parietic opened this issue ยท 2 comments
Expected Behavior
The events 'player_drops_stack' and 'player_drops_item' signal every time player drops times.
Regardless if they dropped the item from their inventory or hotbar.
Current Behavior
The events 'player_drops_stack' and 'player_drops_item' will only signal when dropping items from the hotbar.
Steps to Reproduce
- Create a simple script with said events.
- Drop item/stack from hotbar to test script works.
- Drop item/stack from inventory, notice said functions do not signal when they should.
Context
Minecraft v1.18.1
Fabric loader v0.12.11
Carpet v1.4.56+v211130
Script used to test:
__on_player_drops_item(player)-> print(player, 'You droped an item.');
__on_player_drops_stack(player)-> print(player, 'You dropped a stack.');