SuperMartijn642 / ItemCollectors

4 stars 4 forks source link

[Bug] Duping items with hopper and item collector #7

Closed ZentZz closed 3 years ago

ZentZz commented 3 years ago

Version Info:

Description of the Bug: Placing a chest, hopper and a item collector as the picture below and break a block on top of the hopper will dupe the item. Probably due to item collector collects item at the same tick as the hopper = two items.

Steps to Reproduce: See picture below.

Screenshots: image

image

image

ZentZz commented 3 years ago

Tested some more, dupes by dropping a item as well. See below setup:

image

image

SuperMartijn642 commented 3 years ago

Apparently hoppers only set item entities to dead and don't remove the items from the item entities. I was only checking if the item entities still had items. I changed it so I ignore dead item entities. It is fixed now in version 1.0.10.

Thanks for reporting the issue!