Kinglykrab 35044becc1
[Commands] Cleanup #freeze and #unfreeze Commands. (#2102)
- Cleanup messages and logic.
- Remove the ability to #freeze yourself.
2022-05-03 23:05:09 -04:00

13 lines
256 B
C++
Executable File

#include "../client.h"
void command_unfreeze(Client *c, const Seperator *sep)
{
if (!c->GetTarget()) {
c->Message(Chat::White, "You must have a target to use this command.");
return;
}
c->GetTarget()->SendAppearancePacket(AT_Anim, ANIM_STAND);
}