refactor(package/addCommand): send chat suggestions to correct source (#627)

This commit is contained in:
Luxu
2024-08-12 19:43:17 -07:00
committed by GitHub
parent e10e8af0de
commit f98feab271

View File

@@ -24,7 +24,7 @@ setTimeout(() => {
emitNet('chat:addSuggestions', -1, registeredCommmands);
}, 1000);
on('playerJoining', (source: number) => {
on('playerJoining', () => {
emitNet('chat:addSuggestions', source, registeredCommmands);
});