PlayerAdvancementDoneEvent is called also for Recipes, but it should be fired only for Advancements.
Can be seen with:
@EventHandler
public void advancementDone(PlayerAdvancementDoneEvent e) {
Bukkit.getLogger().info(e.getAdvancement().getKey().toString());
}