mirror of
https://github.com/webluke/mod-grownup.git
synced 2026-01-16 10:30:31 +00:00
option to show grown message to reduce message spam
This commit is contained in:
@@ -62,8 +62,11 @@ public:
|
||||
newScale = 1.0f;
|
||||
|
||||
player->SetObjectScale(newScale);
|
||||
ChatHandler(player->GetSession())
|
||||
.PSendSysMessage("Your adventure has grown!"); // Message when leveling up may try and add the % back later.
|
||||
if (sConfigMgr->GetOption<bool>("GrownUp.GrownAnnounce", true))
|
||||
{
|
||||
ChatHandler(player->GetSession())
|
||||
.PSendSysMessage("Your adventure has grown!"); // Message when leveling up may try and add the % back later.
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user