if RapidChant then return end
RapidChant = {
    ["name"] = "RapidChant",
}
local RapidChant = RapidChant

function RapidChant.OnCraftCompleted()
    if SCENE_MANAGER:IsShowing("enchanting") then
        CALLBACK_MANAGER:FireCallbacks("CraftingAnimationsStopped")
    end
end

function RapidChant.OnAddOnLoaded(event, addonName)
    if addonName ~= RapidChant.name then return end

    local soundPlayer = CRAFTING_RESULTS.enchantSoundPlayer
    soundPlayer.PlaySound = function() return end

    EVENT_MANAGER:RegisterForEvent(RapidChant.name, EVENT_CRAFT_COMPLETED, RapidChant.OnCraftCompleted)
end

EVENT_MANAGER:RegisterForEvent(RapidChant.name, EVENT_ADD_ON_LOADED, RapidChant.OnAddOnLoaded)