mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 08:27:03 +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