evtl fix hanf

This commit is contained in:
hydrant
2021-05-27 23:50:21 +02:00
parent 50fb50f9f0
commit acb2cbc9ba
2 changed files with 5 additions and 5 deletions

View File

@@ -289,8 +289,8 @@ namespace ReallifeGamemode.Server.Managers
{
cannabisData ??= _currentCannabisData;
await NAPI.Task.WaitForMainThread();
//player.SetSharedData("hanfData", JsonConvert.SerializeObject(cannabisData));
player.TriggerEvent("SERVER:Hanf_UpdateHanfData");
player.SetSharedData("hanfData", JsonConvert.SerializeObject(cannabisData));
//player.TriggerEvent("SERVER:Hanf_UpdateHanfData");
}
[RemoteEvent("CLIENT:Hanf_BuySeeds")]