mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 06:24:12 +01:00
Fix rose quartz duplication glitch (#1104)
This commit is contained in:
parent
2d2c7e653f
commit
676a05ad07
@ -77,6 +77,8 @@ public class SandPaperItem extends Item {
|
||||
AxisAlignedBB bb = new AxisAlignedBB(hitVec, hitVec).grow(1f);
|
||||
ItemEntity pickUp = null;
|
||||
for (ItemEntity itemEntity : worldIn.getEntitiesWithinAABB(ItemEntity.class, bb)) {
|
||||
if (!itemEntity.isAlive())
|
||||
continue;
|
||||
if (itemEntity.getPositionVec()
|
||||
.distanceTo(playerIn.getPositionVec()) > 3)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user