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})`);
});
RegisterCommand(
'getPlayers',
() => {
playerLogger.debug(Players);
},
false,
);
// Can use this to debug the player table if needed. Disabled by default
// RegisterCommand(
// 'getPlayers',
// () => {
// playerLogger.debug(Players);
// },
// false,
// );
on('onServerResourceStart', async (resource: string) => {
if (resource === GetCurrentResourceName()) {