From e74d3460d48e3227dc8cd2d3a86c97332fba254b Mon Sep 17 00:00:00 2001 From: Simpy Date: Mon, 6 Jan 2025 04:25:00 -0500 Subject: [PATCH] probably dont need this --- ElvUI/Core/Modules/Nameplates/Nameplates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI/Core/Modules/Nameplates/Nameplates.lua b/ElvUI/Core/Modules/Nameplates/Nameplates.lua index e05beb1821..d6bfa60f5a 100644 --- a/ElvUI/Core/Modules/Nameplates/Nameplates.lua +++ b/ElvUI/Core/Modules/Nameplates/Nameplates.lua @@ -586,12 +586,12 @@ function NP:EnviromentConditionals() local value = (inInstance and instanceType) or (IsResting() and 'resting') or 'world' -- Handle friendly nameplates if friendly combat toggle is not set - if env.friendlyEnabled and (not db.showFriendlyCombat or db.showFriendlyCombat == 'DISABLED') then + if env.friendlyEnabled and db.showFriendlyCombat == 'DISABLED' then NP:ToggleCVar('nameplateShowFriends', env.friendly[value]) end -- Handle enemy nameplates if enemy combat toggle is not set - if env.enemyEnabled and (not db.showEnemyCombat or db.showEnemyCombat == 'DISABLED') then + if env.enemyEnabled and db.showEnemyCombat == 'DISABLED' then NP:ToggleCVar('nameplateShowEnemies', env.enemy[value]) end