Skip to content

Commit

Permalink
NPCBots: Fix 2 more merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed Sep 8, 2024
1 parent c9dd4be commit 409d2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/Entities/GameObject/GameObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ void GameObject::Use(Unit* user)
}
//end npcbot

if (user->IsPlayer())
if (!user->IsPlayer())
return;

Player* player = user->ToPlayer();
Expand Down Expand Up @@ -2061,7 +2061,7 @@ void GameObject::Use(Unit* user)
}
//end npcbot

if (user->IsPlayer())
if (!user->IsPlayer())
return;

Player* player = user->ToPlayer();
Expand Down

0 comments on commit 409d2f1

Please sign in to comment.