Skip to content

Commit

Permalink
fix(server/main): use core export for routingbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jul 22, 2024
1 parent f2287d4 commit 0bb123f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local generalOptions = {
SetPedIntoVehicle(GetPlayerPed(source), vehicle, seat)
end,
function(selectedPlayer, _, input)
SetPlayerRoutingBucket(selectedPlayer.id, input)
exports.qbx_core:SetPlayerBucket(selectedPlayer.id, input)
end,
}
RegisterNetEvent('qbx_admin:server:playerOptionsGeneral', function(selected, selectedPlayer, input)
Expand Down

0 comments on commit 0bb123f

Please sign in to comment.