Skip to content

Commit

Permalink
Merge pull request #1610 from esx-framework/Mycroft-Studios-patch-1
Browse files Browse the repository at this point in the history
tweak(es_extended/shared/main): remove deprication message
  • Loading branch information
Mycroft-Studios authored Feb 7, 2025
2 parents 0787a49 + 901f16f commit 45c259b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions [core]/es_extended/shared/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ AddEventHandler("esx:getSharedObject", function(cb)
if ESX.IsFunctionReference(cb) then
cb(ESX)
end
local invokingResource = GetInvokingResource()
print(("^3[WARNING]^0 Resource ^5%s^0 used the ^5getSharedObject^0 event. This is not the recommended way to import ESX. Visit https://docs.esx-legacy.com/tutorials/tutorials-esx/sharedevent to find out why."):format(invokingResource))
end)

-- backwards compatibility (DO NOT TOUCH !)
Expand Down

0 comments on commit 45c259b

Please sign in to comment.