refactor(Core/Player): add helper method for PLAYER_FLAGS_DEVELOPER (#4395)

Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
This commit is contained in:
Kitzunu
2021-02-08 22:55:04 +01:00
committed by GitHub
parent 736def2058
commit 05a8217270
4 changed files with 15 additions and 14 deletions

View File

@@ -2210,7 +2210,7 @@ uint8 Player::GetChatTag() const
tag |= CHAT_TAG_DND;
if (isAFK())
tag |= CHAT_TAG_AFK;
if (HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_DEVELOPER))
if (IsDeveloper())
tag |= CHAT_TAG_DEV;
return tag;