Skip to content

Commit

Permalink
Nitpick adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitsbench authored Oct 19, 2024
1 parent 027f4f8 commit 4366b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ptr_template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ class createTemplate : public PlayerScript {
{
player->removeActionButton(j);
}
// 0 1 2
// 0 1 2
QueryResult barInfo = WorldDatabase.Query("SELECT Button, Action, Type FROM mod_ptrtemplate_action WHERE (ID = {} AND RaceMask & {} AND ClassMask & {})", index, player->getRaceMask(), player->getClassMask());
if (barInfo)
{
Expand All @@ -582,7 +582,7 @@ class createTemplate : public PlayerScript {
} while (barInfo->NextRow());
player->SendActionButtons(1);
}
player->SaveToDB(false, false); // commit action buttons
player->SaveToDB(false, false); // Commit action buttons.
}

static void AddTemplateLevel(Player* player, uint32 index)
Expand Down

0 comments on commit 4366b67

Please sign in to comment.