
Two or more players with activated magnets can dupe item
takarabako opened this issue ยท 2 comments
What is happening
When two or more players with activated magnets are near each other, items dropped near them will get picked by both of them, results in duping the dropped items.
How to reproduce
- Tell two players go near each other and activate their magnets.
- One of them drop an item of any kind on the ground.
Expected behavior
One of the player gets the item, not both.
Version: quantumflux-1.12.2-2.0.16
Mod pack: FTB Presents Stoneblock 2
Checking itemtoGet.isDead here should be enough to fix this. If the item is already picked up by someone, setDead() will be called.