public void pickup(EntityPlayer player) {
InventoryItem inventory = getItemInventory(player, getFormPlayer(player));
if (inventory == null)
return;
List<EntityItem> list = player.worldObj.getEntitiesWithinAABB(EntityItem.class, AABBHelper.getAABBFromEntity(player, 8D));
<BUG>List<SDouble6Package> d6p = new LinkedList<SDouble6Package>();
for (EntityItem entity : list) {</BUG>
inventory.mergeItemStack(entity.getEntityItem());
if (entity.getEntityItem().stackSize < 1) {
<BUG>d6p.add(new SDouble6Package(entity.posX, entity.posY, entity.posZ, 0, 0, 0));
entity.setDead();</BUG>
}

public void pickup(EntityPlayer player) {
InventoryItem inventory = getItemInventory(player, getFormPlayer(player));
if (inventory == null)
return;
List<EntityItem> list = player.worldObj.getEntitiesWithinAABB(EntityItem.class, AABBHelper.getAABBFromEntity(player, 8D));
List<Double6Package> d6p = new LinkedList<Double6Package>();
for (EntityItem entity : list) {
inventory.mergeItemStack(entity.getEntityItem());
if (entity.getEntityItem().stackSize < 1) {
d6p.add(new Double6Package(entity.posX, entity.posY, entity.posZ, 0, 0, 0));
entity.setDead();
