mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-15 17:33:56 +00:00
refactor(package/addCommand): send chat suggestions to correct source (#627)
This commit is contained in:
1 file changed
+1
-1
@@ -24,7 +24,7 @@ setTimeout(() => {
|
||||
emitNet('chat:addSuggestions', -1, registeredCommmands);
|
||||
}, 1000);
|
||||
|
||||
on('playerJoining', (source: number) => {
|
||||
on('playerJoining', () => {
|
||||
emitNet('chat:addSuggestions', source, registeredCommmands);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user