mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Revert "Remove Remnants of Two obsolete tables: npc_trainer_template & npc_vendor_template"
This reverts commit cb7be30594e6985aea1521a174364319fb029d69. NOTE: This proves that the code / db notes can't be trusted
This commit is contained in:
parent
3d25dcc44a
commit
6d62bc6101
6 changed files with 88 additions and 8 deletions
|
|
@ -637,6 +637,10 @@ bool ChatHandler::HandleReloadNpcTextCommand(char* /*args*/)
|
|||
|
||||
bool ChatHandler::HandleReloadNpcTrainerCommand(char* /*args*/)
|
||||
{
|
||||
sLog.outString("Re-Loading `npc_trainer_template` Table!");
|
||||
sObjectMgr.LoadTrainerTemplates();
|
||||
SendGlobalSysMessage("DB table `npc_trainer_template` reloaded.");
|
||||
|
||||
sLog.outString("Re-Loading `npc_trainer` Table!");
|
||||
sObjectMgr.LoadTrainers();
|
||||
SendGlobalSysMessage("DB table `npc_trainer` reloaded.");
|
||||
|
|
@ -646,6 +650,10 @@ bool ChatHandler::HandleReloadNpcTrainerCommand(char* /*args*/)
|
|||
bool ChatHandler::HandleReloadNpcVendorCommand(char* /*args*/)
|
||||
{
|
||||
// not safe reload vendor template tables independent...
|
||||
sLog.outString("Re-Loading `npc_vendor_template` Table!");
|
||||
sObjectMgr.LoadVendorTemplates();
|
||||
SendGlobalSysMessage("DB table `npc_vendor_template` reloaded.");
|
||||
|
||||
sLog.outString("Re-Loading `npc_vendor` Table!");
|
||||
sObjectMgr.LoadVendors();
|
||||
SendGlobalSysMessage("DB table `npc_vendor` reloaded.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue