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())
|
if (Player* target = handler->getSelectedPlayer())
|
||||||
{
|
{
|
||||||
target->SaveToDB(true, false);
|
target->SaveToDB(false, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
player->SaveToDB(true, false);
|
player->SaveToDB(false, false);
|
||||||
}
|
}
|
||||||
handler->SendSysMessage(LANG_PLAYER_SAVED);
|
handler->SendSysMessage(LANG_PLAYER_SAVED);
|
||||||
return true;
|
return true;
|
||||||
@@ -1107,7 +1107,7 @@ public:
|
|||||||
uint32 saveInterval = sWorld->getIntConfig(CONFIG_INTERVAL_SAVE);
|
uint32 saveInterval = sWorld->getIntConfig(CONFIG_INTERVAL_SAVE);
|
||||||
if (saveInterval == 0 || (saveInterval > 20 * IN_MILLISECONDS && player->GetSaveTimer() <= saveInterval - 20 * IN_MILLISECONDS))
|
if (saveInterval == 0 || (saveInterval > 20 * IN_MILLISECONDS && player->GetSaveTimer() <= saveInterval - 20 * IN_MILLISECONDS))
|
||||||
{
|
{
|
||||||
player->SaveToDB(true, false);
|
player->SaveToDB(false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user