epicgames-fortnite-client
Advanced tools
{ | ||
"name": "epicgames-fortnite-client", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Unofficial Fortnite client in javascript.", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"epicgames-client": "^1.3.0", | ||
"epicgames-client": "^1.3.1", | ||
"request": "^2.88.0", | ||
@@ -29,0 +29,0 @@ "websocket": "^1.0.28" |
@@ -58,4 +58,2 @@ const LauncherStatus = require('epicgames-client/src/Communicator/Status'); | ||
}; | ||
this.party = new Party(this.communicator, this.party_join_data); | ||
@@ -66,6 +64,10 @@ } | ||
if(!this.party) | ||
if(!this.party_join_data) | ||
return false; | ||
return this.party.askToJoin(this.sender.jid); | ||
let party = new Party(this.communicator, this.party_join_data); | ||
await this.party.askToJoin(this.sender.jid); | ||
return party; | ||
} | ||
@@ -72,0 +74,0 @@ |
31701
0.08%677
0.15%