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();
|
bool useVendorInterface = player->GetPlayerSetting("mod-transmog", SETTING_VENDOR_INTERFACE).IsEnabled();
|
||||||
|
|
||||||
if (sT->GetUseVendorInterface())
|
if (sT->GetUseVendorInterface() || useVendorInterface)
|
||||||
useVendorInterface ? ShowTransmogItemsInFakeVendor(player, creature, action) :
|
|
||||||
ShowTransmogItemsInGossipMenu(player, creature, action, sender);
|
|
||||||
else
|
|
||||||
useVendorInterface ? ShowTransmogItemsInGossipMenu(player, creature, action, sender) :
|
|
||||||
ShowTransmogItemsInFakeVendor(player, creature, action);
|
ShowTransmogItemsInFakeVendor(player, creature, action);
|
||||||
|
else
|
||||||
|
ShowTransmogItemsInGossipMenu(player, creature, action, sender);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user