feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)

This commit is contained in:
UltraNix
2021-04-25 22:18:03 +02:00
committed by GitHub
parent 91081f4ad8
commit f4c226423d
568 changed files with 10655 additions and 11019 deletions

View File

@@ -139,7 +139,7 @@ public:
}
// check online security
if (handler->HasLowerSecurity(player, 0))
if (handler->HasLowerSecurity(player))
return false;
if (strncmp(args, "on", 3) == 0)
@@ -190,7 +190,7 @@ public:
if (!chr)
chr = handler->GetSession()->GetPlayer();
else if (handler->HasLowerSecurity(chr, 0)) // check online security
else if (handler->HasLowerSecurity(chr)) // check online security
return false;
if (!*args)