From 57d4beafed29cf03fbc34790f37d198e866cdd6e Mon Sep 17 00:00:00 2001 From: McKlean <59034736+McKlean@users.noreply.github.com> Date: Sat, 21 Jun 2025 16:32:49 +0100 Subject: [PATCH] Commit[crafting]: commented print causing errors - debugPrint was causing crafting to error --- shared/crafting.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/crafting.lua b/shared/crafting.lua index 3723d8d..7836363 100644 --- a/shared/crafting.lua +++ b/shared/crafting.lua @@ -457,7 +457,7 @@ end --- @usage RegisterNetEvent(getScript()..":Crafting:GetItem", function(ItemMake, craftable, stashName, metadata, token) local src = source - debugPrint("^6Bridge^7: ^4"..getScript().."^7:^4Crafting^7:^4GetItem ^2invoked by^7: "..GetInvokingResource()) + -- debugPrint("^6Bridge^7: ^4"..getScript().."^7:^4Crafting^7:^4GetItem ^2invoked by^7: "..GetInvokingResource()) if GetInvokingResource() and GetInvokingResource() ~= getScript() and GetInvokingResource() ~= "qb-core" then debugPrint("^1ERROR^7: ^1Possible exploit^7, ^1vital function was called from an external resource^7") return