mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Merge pull request #1092 from xxjordi/patch-1
fix(es_extended/server/classes/overrides/oxinventory.lua): typo
This commit is contained in:
@@ -89,7 +89,7 @@ Core.PlayerFunctionOverrides.OxInventory = {
|
||||
|
||||
if account then
|
||||
money = account.round and ESX.Math.Round(money) or money
|
||||
self.accounts[account.index].money = self.accounts[account.index].mone - money
|
||||
self.accounts[account.index].money = self.accounts[account.index].money - money
|
||||
self.triggerEvent('esx:setAccountMoney', account)
|
||||
TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason)
|
||||
if Inventory.accounts[accountName] then
|
||||
|
||||
Reference in New Issue
Block a user