Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
55Honey committed Feb 9, 2024
1 parent 82a6690 commit 9e3c593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrinityCore/UnitMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace LuaUnit
* @param int32 immunity : new value for the immunity mask
* @param bool apply = true : if true, the immunity is applied, otherwise it is removed
*/
int SetImmuneTo(lua_State* E->L, Unit* unit)
int SetImmuneTo(Eluna* E, Unit* unit)
{
int32 immunity = Eluna::CHECKVAL<int32>(E->L, 2);
bool apply = Eluna::CHECKVAL<bool>(E->L, 3, true);
Expand Down

0 comments on commit 9e3c593

Please sign in to comment.