feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)
This commit is contained in:
parent
91081f4ad8
commit
f4c226423d
568 changed files with 10655 additions and 11019 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue