Skip to content

Commit

Permalink
Merge pull request #362 from deluvas1911/fix/IsWheelOnFire
Browse files Browse the repository at this point in the history
Fix IsWheelOnFire getter
  • Loading branch information
FabianTerhorst committed Oct 11, 2021
2 parents 4ef516b + 729d273 commit 3381277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/AltV.Net/Elements/Entities/Vehicle.cs
Expand Up @@ -1171,7 +1171,7 @@ public bool IsWheelOnFire(byte wheelId)
unsafe
{
CheckIfEntityExists();
return Server.Library.Vehicle_IsWheelDetached(NativePointer, wheelId) == 1;
return Server.Library.Vehicle_IsWheelOnFire(NativePointer, wheelId) == 1;
}
}

Expand Down

0 comments on commit 3381277

Please sign in to comment.