From 3a9e3480a9f18d1967b38e582acff63f8fc701d6 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Thu, 17 Jul 2025 22:06:41 -0300 Subject: [PATCH] BREAKING CHANGE: Remove Subscription handling from the transmog module Use mod-acore-subscriptions to load it instead --- src/transmog_scripts.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index 8db315dd..451327e0 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -1164,17 +1164,6 @@ class PS_Transmogrification : public PlayerScript } } - if (sConfigMgr->GetOption("Transmogrification.EnablePlus", false)) - { - uint32 accountId = 0; - - if (player->GetSession()) - accountId = player->GetSession()->GetAccountId(); - - QueryResult resultAcc = LoginDatabase.Query("SELECT `membership_level` FROM `acore_cms_subscriptions` WHERE `account_name` COLLATE utf8mb4_general_ci = (SELECT `username` FROM `account` WHERE `id` = {})", accountId); - player->UpdatePlayerSetting("acore_cms_subscriptions", SETTING_TRANSMOG_MEMBERSHIP_LEVEL, resultAcc ? (*resultAcc)[0].Get() : 0); - } - #ifdef PRESETS if (sT->GetEnableSets()) sT->LoadPlayerSets(playerGUID);