actions.add(sayAction);
}
else if (actionElement.getName().equalsIgnoreCase("teleport_players"))
{
String name = actionElement.attributeValue("id");
TeleportPlayersAction a = new TeleportPlayersAction(name);
actions.add(a);
}
}
return actions.isEmpty() ? Collections.<EventAction> emptyList() : actions;
}