mods: disable modules already existing in tbc
This commit is contained in:
@@ -3,6 +3,11 @@ local GetExpansion = ShaguTweaks.GetExpansion
|
||||
local UnitCastingInfo = ShaguTweaks.UnitCastingInfo
|
||||
local UnitChannelInfo = ShaguTweaks.UnitChannelInfo
|
||||
|
||||
local GetExpansion = ShaguTweaks.GetExpansion
|
||||
|
||||
-- TBC already has casting bars
|
||||
if GetExpansion() ~= "vanilla" then return end
|
||||
|
||||
local module = ShaguTweaks:register({
|
||||
title = "Enemy Castbars",
|
||||
description = "Shows an enemy castbar on target unit frame.",
|
||||
|
||||
Reference in New Issue
Block a user