diff --git a/package/server/resource/addCommand/index.ts b/package/server/resource/addCommand/index.ts index f6221d762..056a2f5d2 100644 --- a/package/server/resource/addCommand/index.ts +++ b/package/server/resource/addCommand/index.ts @@ -24,7 +24,7 @@ setTimeout(() => { emitNet('chat:addSuggestions', -1, registeredCommmands); }, 1000); -on('playerJoining', (source: number) => { +on('playerJoining', () => { emitNet('chat:addSuggestions', source, registeredCommmands); });