diff --git a/PlayerMethods.h b/PlayerMethods.h index 3f11946..407cb1f 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -1702,7 +1702,11 @@ namespace LuaPlayer { uint8 race = Eluna::CHECKVAL(L, 2); +#ifdef TRINITY + player->SetFactionForRace(race); +#else player->setFactionForRace(race); +#endif return 0; }