String name = attribute.getName();
String value = attribute.getValue();
if (name.equalsIgnoreCase("residence"))
{
String[] st = value.split(";");
cond = joinAnd(cond, new ConditionPlayerResidence(Integer.parseInt(st[1]), ResidenceType.valueOf(st[0])));
}
else if (name.equalsIgnoreCase("classId"))
{
cond = joinAnd(cond, new ConditionPlayerClassId(value.split(",")));
}