Skip to content

Commit

Permalink
refactor(package/addCommand): send chat suggestions to correct source (
Browse files Browse the repository at this point in the history
  • Loading branch information
luxu-gg authored Aug 13, 2024
1 parent e10e8af commit f98feab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/server/resource/addCommand/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ setTimeout(() => {
emitNet('chat:addSuggestions', -1, registeredCommmands);
}, 1000);

on('playerJoining', (source: number) => {
on('playerJoining', () => {
emitNet('chat:addSuggestions', source, registeredCommmands);
});

Expand Down

0 comments on commit f98feab

Please sign in to comment.