SuperMartijn642 / SimpleMagnets

3 stars 12 forks source link

[Feature] Not pull items when dropping them from your inventory. #19

Closed Hazmatik closed 3 years ago

Hazmatik commented 3 years ago

I see that this had been requested and implemented, sort of, the magnets don't pull items if you drop them from your hand, but if you open your inventory and drop them from it the items are still pulled towards the player. I tried both grabbing the items and tossing them out and hovering the mouse over the items and pressing the drop key and both ways the items are still pulled towards the player.

SuperMartijn642 commented 3 years ago

I've looked into it a bit and it seems this is an issue in Forge. The item entity that spawns when an item is dropped from an inventory has no player id set.

I've created a pull request to fix the issue, so hopefully that gets merged. If so, it would simply be fixed by updating to the newer Forge version without any changes on my end.

SuperMartijn642 commented 3 years ago

It is fixed now in Forge versions 1.15.2-31.2.54, 1.16.5-36.2.1, and 1.17.1-37.0.7.

Thank you for noticing and reporting it here!