diff --git a/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua b/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua index ed059fc4d..cd48b0950 100644 --- a/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua @@ -1,7 +1,6 @@ ESX = exports["es_extended"]:getSharedObject() -RegisterServerEvent("bpt_woodcutter:pickedUpWood") -AddEventHandler("bpt_woodcutter:pickedUpWood", function() +RegisterServerEvent("bpt_woodcutter:pickedUpWood", function() local xPlayer = ESX.GetPlayerFromId(source) local xItem = xPlayer.getInventoryItem("wood")