mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
refactor(package/addCommand): send chat suggestions to correct source (#627)
This commit is contained in:
@@ -24,7 +24,7 @@ setTimeout(() => {
|
|||||||
emitNet('chat:addSuggestions', -1, registeredCommmands);
|
emitNet('chat:addSuggestions', -1, registeredCommmands);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
on('playerJoining', (source: number) => {
|
on('playerJoining', () => {
|
||||||
emitNet('chat:addSuggestions', source, registeredCommmands);
|
emitNet('chat:addSuggestions', source, registeredCommmands);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user