Skip to content

Commit

Permalink
fix(esx/compat): Do no fetch PlayerData on start
Browse files Browse the repository at this point in the history
  • Loading branch information
TheiLLeniumStudios committed Jun 15, 2023
1 parent e9f4252 commit 4563165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/framework/esx/main.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if not Framework.ESX() then return end

local ESX = exports["es_extended"]:getSharedObject()
Framework.PlayerData = ESX.GetPlayerData()
Framework.PlayerData = nil

RegisterNetEvent("esx:playerLoaded", function(xPlayer)
Framework.PlayerData = xPlayer
Expand Down

0 comments on commit 4563165

Please sign in to comment.