Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Some small fixes (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasesser committed Apr 6, 2023
1 parent 8d1016e commit bde990b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/client/systems/character.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const CharacterSystem = {

// Eyes
native.setHeadBlendEyeColor(ped, appearance.eyes);
native.clearAllPedProps(ped);
native.clearAllPedProps(ped, 0);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion src/core/client/views/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ import * as AthenaClient from '@AthenaClient/api';
// }
// }

alt.onServer(View_Events_Input_Menu.SetMenu, InternalFunctions.show);
// alt.onServer(View_Events_Input_Menu.SetMenu, InternalFunctions.show);
2 changes: 1 addition & 1 deletion src/core/server/events/playerConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ConfigUtil from '../utility/config';
* @param {alt.Player} player An alt:V Player Entity
*/
async function handlePlayerConnect(player: alt.Player): Promise<void> {
const config = ConfigUtil.get();
const config = await ConfigUtil.get();

if (!player || !player.valid) {
return;
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/player/setter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function account(player: alt.Player, accountData: Account): Promise
alt.emitClient(player, SYSTEM_EVENTS.QUICK_TOKEN_UPDATE, newToken);

player.setSyncedMeta(PLAYER_SYNCED_META.ACCOUNT_ID, accountData.id);
emit.meta(player, 'permissionLevel', accountData.permissionLevel);
emit.meta(player, 'permissions', accountData.permissions);

Athena.document.account.bind(player, accountData);
PlayerEvents.trigger('set-account-data', player);
Expand Down
2 changes: 1 addition & 1 deletion src/core/shared/interfaces/vehicleBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,5 @@ export interface BaseVehicle {
* @type {{ [key: string]: Array<string> }}
* @memberof BaseVehicle
*/
groups: { [key: string]: Array<string> };
groups?: { [key: string]: Array<string> };
}

0 comments on commit bde990b

Please sign in to comment.