[Crash] Fix crash when client pointer does not exist during #hotfix (#3661)

This commit is contained in:
Chris Miles 2023-10-29 18:45:18 -05:00 committed by GitHub
parent a5a51fbe44
commit fef629e1df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -691,7 +691,7 @@ void command_hotfix(Client *c, const Seperator *sep)
}
worldserver.SendPacket(&pack);
if (c) { c->Message(Chat::White, "Hotfix applied"); }
worldserver.SendEmoteMessage(0, 0, AccountStatus::ApprenticeGuide, Chat::Yellow, "Hotfix applied");
}
);