Revert "Scripts/Commands: Allow to use .tele in combat only to GMs"

This reverts commit 3ae5b72075 - see discussion on commit.
This commit is contained in:
Treeston
2018-01-06 13:32:11 +01:00
parent b2b4f9d1e4
commit cbf5535b74

View File

@@ -313,7 +313,7 @@ public:
return false;
}
if (me->IsInCombat() && !me->CanBeGameMaster())
if (me->IsInCombat() && !handler->GetSession()->HasPermission(rbac::RBAC_PERM_COMMAND_TELE_NAME))
{
handler->SendSysMessage(LANG_YOU_IN_COMBAT);
handler->SetSentErrorMessage(true);