From 42a3e86f4484f3b3190771c04495181262c1185a Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Thu, 27 Jan 2022 00:54:21 +0100 Subject: [PATCH] fix(transmog_scripts): fix CanBeSeen (#66) --- src/transmog_scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index dced0d0..4ebb0cf 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -38,7 +38,7 @@ public: bool CanBeSeen(Player const* player) override { Player* target = ObjectAccessor::FindConnectedPlayer(player->GetGUID()); - return !sTransmogrification->IsEnabled() && !target->GetPlayerSetting("mod-transmog", SETTING_HIDE_TRANSMOG).value; + return sTransmogrification->IsEnabled() && !target->GetPlayerSetting("mod-transmog", SETTING_HIDE_TRANSMOG).value; } };