mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
parent
10a3f0fbd8
commit
f78e5420c4
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class ItemPickaxe extends PickaxeItem implements IModItem, ICustomItemMod
|
|||
AxisAlignedBB bounds = new AxisAlignedBB(entityIn.getPosition()).grow(3.5F);
|
||||
for (ItemEntity item : worldIn.getEntitiesWithinAABB(ItemEntity.class, bounds)) {
|
||||
// only pick up freshly dropped items
|
||||
if (item.getAge() >= 5)
|
||||
if (item.ticksExisted >= 5)
|
||||
continue;
|
||||
item.setPickupDelay(0);
|
||||
item.onCollideWithPlayer((PlayerEntity) entityIn);
|
||||
|
|
Loading…
Reference in a new issue