// Check if the autoLoot mode is active
if ((isRaid() && Config.AUTO_LOOT_RAID) || (!isRaid() && Config.AUTO_LOOT))
player.doAutoLoot(this, item); // Give this or these Item(s) to the L2PcInstance that has killed the L2Attackable
else
{
if (item.getId() == 57)
player.addAdena("Loot", item.getValue(), player, true);
else
dropItem(player, item);
}
?