Skip to content

Commit

Permalink
feat: correct system name for qbcore
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropapa committed Sep 28, 2024
1 parent 4edcec5 commit 6f45dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion brz-core/server/thirdparties.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Adapter } from "../types/thirdparties.types";
declare const SETTINGS: any;

const qbCoreGetPlayer = () =>
SETTINGS.INVENTORY_SYSTEM === "qb-core" &&
SETTINGS.INVENTORY_SYSTEM === "qbCore" &&
exports["qb-core"]?.GetCoreObject?.()?.Functions?.GetPlayer;

const adapters: {
Expand Down
2 changes: 1 addition & 1 deletion settings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const SETTINGS = {
INVENTORY_SYSTEM: "ox_inventory", // ox_inventory or qb-core
INVENTORY_SYSTEM: "ox_inventory", // ox_inventory or qbCore
DEFAULT_LANG: "en-us",
MAXIMUM_LINE_TENSION: 100,
LINE_TENSION_INCREASE_RATE: 5,
Expand Down

0 comments on commit 6f45dec

Please sign in to comment.