Skip to content

Commit a7759b7

Browse files
b2softBohdan Bessonov
andauthored
Fix for weaponModelInfoCache not created (#755)
Co-authored-by: Bohdan Bessonov <[email protected]>
1 parent a89a58f commit a7759b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/AltV.Net/Core.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public Core(IntPtr nativePointer, IntPtr resourcePointer, AssemblyLoadContext as
7373
this.vehicleModelInfoCache = new();
7474
this.pedModelInfoCache = new();
7575
this.metricCache = new();
76+
this.weaponModelInfoCache = new();
7677
nativeResourcePool.GetOrCreate(this, resourcePointer, out var resource);
7778
Resource = resource;
7879
}

0 commit comments

Comments
 (0)