Open AKA-Mae opened 5 months ago
I just started using Carpet mod yesterday, so I'm not familiar with the syntax for scarpet, but I feel like the if ( current:1+count <= stack_limit(item_name) && current:2 == item_nbt,
line may be the problem
You are correct about the problematic line. I solved this on discord already, but unfortunately we haven't decided on how to update scripts to keep them backwards compatible.
Update line 47 to
if ( current:1+count <= stack_limit(item_name) && current:2:'components' == item_nbt:'components',
https://discord.com/channels/882822986795716608/894811484062892095/1246920279020671089
Thank you for the fix! I'll join the discord to check for some more fixes on other scripts then.
I updated the script with that fix, and it works fine now in 1.21. Thanks for the update.
Describe the bug When using auto_pickup.sc multiple stacks of 2 will be created and if there are no more empty slots will drop on the ground.
To Reproduce Steps to reproduce the behavior:
Expected behavior Items should continue filling the inventory until stacks are full. I have tested this with multiple items, such as wooden planks and redstone dust.
Screenshots
Environment
Additional context I noticed this first in a modded server, then tested with a fresh install of 1.20.6 and only carpet-fabric installed.