mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-03 03:38:50 +00:00
080bf97283
Delay ox_inventory load until character identity is set (non-multicharacter) Inventory was loading before firstName were assigned to new characters when multicharacter was disabled. Fix/Changes: * Check if multicharacter is disabled (Config.Multichar) * Identify new characters (isNew flag) * Wait for firstName to be registered * Implement 2-minute timeout to prevent infinite loops * Log warning if registration fails to complete in time * Continue loading inventory anyway after timeout Ensures identity data loads before inventory initializes
es_extended
Legal
es_extended
Copyright (C) 2015-2024 Jérémie N'gadi
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.