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

This commit is contained in:
Luxu
2024-08-13 12:43:17 +10:00
committed by GitHub
parent e10e8af0de
commit f98feab271
+1 -1
View File
@@ -24,7 +24,7 @@ setTimeout(() => {
emitNet('chat:addSuggestions', -1, registeredCommmands);
}, 1000);
on('playerJoining', (source: number) => {
on('playerJoining', () => {
emitNet('chat:addSuggestions', source, registeredCommmands);
});