diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 5f106fd910477d..45af1997d8aaa4 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -1985,7 +1985,7 @@ void GameObject::Use(Unit* user) } //end npcbot - if (user->IsPlayer()) + if (!user->IsPlayer()) return; Player* player = user->ToPlayer(); @@ -2061,7 +2061,7 @@ void GameObject::Use(Unit* user) } //end npcbot - if (user->IsPlayer()) + if (!user->IsPlayer()) return; Player* player = user->ToPlayer();