Skip to content

Commit

Permalink
removed unnecessary "data.meta"
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulkadiraktas committed Apr 27, 2023
1 parent eefab4b commit ad777c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ad777c3

Please sign in to comment.