mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
fix(Core/Commands): remove character creation flag from .save command
This commit is contained in:
@@ -1093,11 +1093,11 @@ public:
|
||||
{
|
||||
if (Player* target = handler->getSelectedPlayer())
|
||||
{
|
||||
target->SaveToDB(true, false);
|
||||
target->SaveToDB(false, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
player->SaveToDB(true, false);
|
||||
player->SaveToDB(false, false);
|
||||
}
|
||||
handler->SendSysMessage(LANG_PLAYER_SAVED);
|
||||
return true;
|
||||
@@ -1107,7 +1107,7 @@ public:
|
||||
uint32 saveInterval = sWorld->getIntConfig(CONFIG_INTERVAL_SAVE);
|
||||
if (saveInterval == 0 || (saveInterval > 20 * IN_MILLISECONDS && player->GetSaveTimer() <= saveInterval - 20 * IN_MILLISECONDS))
|
||||
{
|
||||
player->SaveToDB(true, false);
|
||||
player->SaveToDB(false, false);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user