mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
refactor(server/main): Do not store skin in PlayerData, send it separately
This commit is contained in:
+1
-2
@@ -304,9 +304,8 @@ function loadESXPlayer(identifier, playerId, isNew)
|
||||
loadout = xPlayer.getLoadout(),
|
||||
maxWeight = xPlayer.getMaxWeight(),
|
||||
money = xPlayer.getMoney(),
|
||||
skin = userData.skin,
|
||||
dead = userData.dead
|
||||
}, isNew)
|
||||
}, isNew, userData.skin)
|
||||
|
||||
xPlayer.triggerEvent('esx:createMissingPickups', ESX.Pickups)
|
||||
xPlayer.triggerEvent('esx:registerSuggestions', ESX.RegisteredCommands)
|
||||
|
||||
Reference in New Issue
Block a user