From 6c49c5e71b096e9aabaf52747f379aa7e967feaf Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 27 Jun 2017 17:56:54 +0300 Subject: [PATCH] Fix TC build --- PlayerMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerMethods.h b/PlayerMethods.h index 745564a..f78a480 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -1176,7 +1176,7 @@ namespace LuaPlayer #ifndef TRINITY Eluna::Push(L, player->GetMap()->GetUnit(player->GetComboTargetGuid())); #else - Eluna::Push(L, ObjectAccessor::GetUnit(*player, player->GetComboTarget())); + Eluna::Push(L, player->GetComboTarget()); #endif return 1; }