Fix double call history & adding contact from history (#231)

This commit is contained in:
Dillon Skaggs authored and GitHub committed 2021-05-20 23:54:01 +02:00
1 parent 488c8df5cb
commit 2411c39b95
6 files changed
+12 -6

No files matched your search

@@ -59,7 +59,7 @@ if (config.general.enableMultiChar) {
// This has to be an event as FXServer does not yet support exports which return a promise.
on('npwd:newPlayer', async (playerDTO: PlayerAddData) => {
if (typeof playerDTO.source !== 'number') {
return playerLogger.error('Source must be passed as a number when unloading a player');
return playerLogger.error('Source must be passed as a number when loading a player');
}
playerLogger.debug('Receive newPlayer event, data:');
playerLogger.debug(playerDTO);