Skip to content

Commit

Permalink
fix(client): remove textlabels by GetAllTextLabels()
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Apr 14, 2024
1 parent 0920819 commit f35c691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/AltV.Net.Client/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public IReadOnlyCollection<ITextLabel> GetAllTextLabels()
{
CheckIfCallIsValid();
ulong size = 0;
var ptr = Library.Shared.Core_GetMarkers(NativePointer, &size);
var ptr = Library.Shared.Core_GetTextLabels(NativePointer, &size);
var data = new IntPtr[size];
Marshal.Copy(ptr, data, 0, (int)size);
var arr = data.Select(e => PoolManager.TextLabel.GetOrCreate(this, e)).ToArray();
Expand Down

0 comments on commit f35c691

Please sign in to comment.