From ad777c364b6bc2d127bde707f80b6574a008122b Mon Sep 17 00:00:00 2001 From: abdulkadiraktas Date: Fri, 28 Apr 2023 00:13:23 +0300 Subject: [PATCH] removed unnecessary "data.meta" --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index f161684..fa73e8f 100644 --- a/server/main.lua +++ b/server/main.lua @@ -608,7 +608,7 @@ AddEventHandler( local itemData = Config.Items[data.name] local Player = RedEM.GetPlayer(_source) if itemData.canBeUsed then - TriggerEvent("RegisterUsableItem:" .. data.name, _source, data, data.meta or nil) + TriggerEvent("RegisterUsableItem:" .. data.name, _source, data) --TriggerClientEvent("ak_notification:Left", _source, "Użyto przedmiotu", itemData.label, tonumber(1000)) TriggerClientEvent("redem_roleplay:NotifyLeft", _source, "Item Used", itemData.label, "generic_textures", "tick", 3000) TriggerClientEvent("redemrp_inventory:PlaySound", _source, 1)