mirror of
https://github.com/telegramcores/mod-premium.git
synced 2026-01-13 00:58:36 +00:00
Update premium.cpp
test
This commit is contained in:
@@ -82,11 +82,11 @@ public:
|
||||
if (!sConfigMgr->GetOption<bool>("PremiumAccount", true))
|
||||
return false;
|
||||
|
||||
/* QueryResult result = CharacterDatabase.Query("SELECT `AccountId` FROM `premium` WHERE `active`=1 AND `AccountId`={}", player->GetSession()->GetAccountId()); */
|
||||
/* QueryResult result = CharacterDatabase.Query("SELECT `AccountId` FROM `premium` WHERE `active`=1 AND `AccountId`={}", player->GetSession()->GetAccountId());
|
||||
|
||||
if (!result)
|
||||
return false;
|
||||
|
||||
*/
|
||||
if (player->IsInCombat())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user