Little bit of cleanup

This commit is contained in:
Akkadius
2024-11-19 02:16:11 -06:00
parent 92cc457067
commit ce3d3153d8
7 changed files with 15 additions and 30 deletions
-14
View File
@@ -1,14 +0,0 @@
void command_test(Client *c, const Seperator *sep)
{
const int arguments = sep->argnum;
for (auto &e : entity_list.GetMobList()) {
auto mob = e.second;
if (Distance(c->GetPosition(), mob->GetPosition()) > 100) {
mob->SendAppearancePacket(AppearanceType::Invisibility, 3001);
} else {
mob->SendAppearancePacket(AppearanceType::Invisibility, 0);
}
}
}