tweak(server/players): Commented getPlayers command for debug

This commit is contained in:
Taso committed 2021-03-10 21:49:10 -05:00
1 parent 044f5ba39c
commit 08e477f360
1 file changed
+8 -7
+8 -7
View File
@@ -28,13 +28,14 @@ on('playerDropped', () => {
mainLogger.info(`Unloaded NPWD Player, source: (${_source})`); mainLogger.info(`Unloaded NPWD Player, source: (${_source})`);
}); });
RegisterCommand( // Can use this to debug the player table if needed. Disabled by default
'getPlayers', // RegisterCommand(
() => { // 'getPlayers',
playerLogger.debug(Players); // () => {
}, // playerLogger.debug(Players);
false, // },
); // false,
// );
on('onServerResourceStart', async (resource: string) => { on('onServerResourceStart', async (resource: string) => {
if (resource === GetCurrentResourceName()) { if (resource === GetCurrentResourceName()) {