{
Element chanceElement = elementIterator.next();
chances.put(FishGroup.valueOf(chanceElement.attributeValue("type")), Integer.parseInt(chanceElement.attributeValue("value")));
}
map.put("chances", chances);
getHolder().addLure(new LureTemplate(map));
}
else if ("distribution".equals(e.getName()))
{
int id = Integer.parseInt(e.attributeValue("id"));
for (Iterator<Element> forLureIterator = e.elementIterator(); forLureIterator.hasNext();)