From bfa93e3d655578b8521acfe2cc870835be847ac6 Mon Sep 17 00:00:00 2001 From: Till Schreiber Date: Tue, 24 Sep 2024 19:25:34 +0200 Subject: [PATCH] feat(shared): fix shared registeradapter --- api/AltV.Net.Shared/AltShared.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/AltV.Net.Shared/AltShared.cs b/api/AltV.Net.Shared/AltShared.cs index 24500616..84d800b7 100644 --- a/api/AltV.Net.Shared/AltShared.cs +++ b/api/AltV.Net.Shared/AltShared.cs @@ -13,5 +13,7 @@ public static class AltShared public static uint Hash(string key) => CoreImpl.Hash(key); public static bool CacheEntities = true; public static void EmitLocal(string eventName, params object[] args) => CoreImpl.TriggerLocalEvent(eventName, args); + + public static void RegisterMValueAdapter(IMValueAdapter adapter) => CoreImpl.RegisterMValueAdapter(adapter); } } \ No newline at end of file