Fixes most commands.

This commit is contained in:
hondacrx
2022-06-11 21:09:48 -04:00
parent 130444d893
commit e0025794a5
31 changed files with 1275 additions and 928 deletions
@@ -849,6 +849,17 @@ namespace Game.Chat
return true;
}
[Command("spell_script_names", RBACPermissions.CommandReloadSpellScriptNames, true)]
static bool HandleReloadSpellScriptNamesCommand(CommandHandler handler)
{
Log.outInfo(LogFilter.Misc, "Reloading spell_script_names table...");
Global.ObjectMgr.LoadSpellScriptNames();
//Global.ScriptMgr.NotifyScriptIDUpdate();
Global.ObjectMgr.ValidateSpellScripts();
handler.SendGlobalGMSysMessage("Spell scripts reloaded.");
return true;
}
[Command("spell_target_position", RBACPermissions.CommandReloadSpellTargetPosition, true)]
static bool HandleReloadSpellTargetPositionCommand(CommandHandler handler, StringArguments args)
{