if ((lure == null) || (lure.getCount() < 1))
{
player.sendPacket(Msg.BAITS_ARE_NOT_PUT_ON_A_HOOK);
return;
}
Zone zone = player.getZone(ZoneType.FISHING);
if (zone == null)
{
return;
}
zone.getParams().getInteger("distribution_id");
int lureId = lure.getItemId();
int group = lineage2.gameserver.model.Fishing.getFishGroup(lure.getItemId());
int type = lineage2.gameserver.model.Fishing.getRandomFishType(lureId);
int lvl = lineage2.gameserver.model.Fishing.getRandomFishLvl(player);
List<FishTemplate> fishs = FishTable.getInstance().getFish(group, type, lvl);