[Commands] Cleanup #reloadtitles Command. (#2125)

* [Commands] Cleanup #reloadtitles Command.
- Cleanup messages;

* Update worldserver.cpp
This commit is contained in:
Kinglykrab
2022-05-06 20:20:42 -04:00
committed by GitHub
parent 3091a84540
commit 6beb220e93
2 changed files with 26 additions and 2 deletions
+1 -2
View File
@@ -5,10 +5,9 @@ extern WorldServer worldserver;
void command_reloadtitles(Client *c, const Seperator *sep)
{
c->Message(Chat::White, "Attempting to reload titles globally.");
auto pack = new ServerPacket(ServerOP_ReloadTitles, 0);
worldserver.SendPacket(pack);
safe_delete(pack);
c->Message(Chat::Yellow, "Player Titles Reloaded.");
}