mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 20:53:41 +01:00
Fix rose quartz duplication glitch (#1104)
This commit is contained in:
parent
2d2c7e653f
commit
676a05ad07
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue