mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
fix logic in the last interface implementation (#189)
This commit is contained in:
@@ -543,12 +543,10 @@ public:
|
||||
|
||||
bool useVendorInterface = player->GetPlayerSetting("mod-transmog", SETTING_VENDOR_INTERFACE).IsEnabled();
|
||||
|
||||
if (sT->GetUseVendorInterface())
|
||||
useVendorInterface ? ShowTransmogItemsInFakeVendor(player, creature, action) :
|
||||
ShowTransmogItemsInGossipMenu(player, creature, action, sender);
|
||||
else
|
||||
useVendorInterface ? ShowTransmogItemsInGossipMenu(player, creature, action, sender) :
|
||||
if (sT->GetUseVendorInterface() || useVendorInterface)
|
||||
ShowTransmogItemsInFakeVendor(player, creature, action);
|
||||
else
|
||||
ShowTransmogItemsInGossipMenu(player, creature, action, sender);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user