local MER, F, E, I, V, P, G, L = unpack(ElvUI_MerathilisUI)
local module = MER:GetModule("MER_NamePlates")
local NP = E:GetModule("NamePlates")

local _G = _G
local hooksecurefunc = hooksecurefunc

function module:Initialize()
	if E.private.nameplates.enable ~= true then
		return
	end

	-- Castbar Shield
	if E.db.mui.nameplates.castbarShield then
		hooksecurefunc(NP, "Castbar_CheckInterrupt", module.Castbar_CheckInterrupt)
	end
end

MER:RegisterModule(module:GetName())
