mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
tweak(resources/server): Finally remove @ts-ignore as my PR was merged
This commit is contained in:
1 parent
f1012958e2
commit
42b2970428
1 file changed
+1
-4
@@ -45,10 +45,7 @@ on('playerDropped', () => {
|
||||
if (!config.general.enableMultiChar) {
|
||||
on('onServerResourceStart', async (resource: string) => {
|
||||
if (resource === GetCurrentResourceName()) {
|
||||
// Workaround till https://github.com/citizenfx/fivem/pull/682
|
||||
// is merged
|
||||
// @ts-ignore
|
||||
const onlinePlayers: string[] = getPlayers();
|
||||
const onlinePlayers = getPlayers();
|
||||
for (const player of onlinePlayers) {
|
||||
await PlayerService.handleNewPlayerJoined(parseInt(player));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user