mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
fixed skyseeker pickaxe not picking up items from far enough away
This commit is contained in:
parent
81ff2a4140
commit
08643e79b8
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class ItemPickaxe extends PickaxeItem implements IModItem, ICustomItemMod
|
|||
return;
|
||||
if (!isSelected || levelIn.isClientSide)
|
||||
return;
|
||||
var bounds = new AABB(entityIn.blockPosition()).inflate(3.5F);
|
||||
var bounds = new AABB(entityIn.blockPosition()).inflate(4);
|
||||
for (var item : levelIn.getEntitiesOfClass(ItemEntity.class, bounds)) {
|
||||
// only pick up freshly dropped items
|
||||
if (item.tickCount >= 5 || !item.isAlive())
|
||||
|
|
Loading…
Reference in a new issue