mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
fix(Script/Commands): tele add should only check exact match (#20785)
* fix(Script/Commands): tele add should only check exact match * closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268 * better describe the variable
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
if (!player)
|
||||
return false;
|
||||
|
||||
if (sObjectMgr->GetGameTele(name))
|
||||
if (sObjectMgr->GetGameTele(name, true))
|
||||
{
|
||||
handler->SendErrorMessage(LANG_COMMAND_TP_ALREADYEXIST);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user