mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 16:24:25 -05:00
Update index.js
This commit is contained in:
parent
09374967da
commit
4622d08dc7
@ -332,6 +332,7 @@ export default class SquadServer extends EventEmitter {
|
|||||||
if (data.tse <= data.cts) return;
|
if (data.tse <= data.cts) return;
|
||||||
|
|
||||||
const outdata = {
|
const outdata = {
|
||||||
|
time: data.time,
|
||||||
rawID: data.characterClassname,
|
rawID: data.characterClassname,
|
||||||
cheatType: 'Remote Actions',
|
cheatType: 'Remote Actions',
|
||||||
player: await this.getPlayerByCondition(
|
player: await this.getPlayerByCondition(
|
||||||
@ -344,6 +345,7 @@ export default class SquadServer extends EventEmitter {
|
|||||||
|
|
||||||
this.logParser.on('EXPLODE-ATTACK', async (data) => {
|
this.logParser.on('EXPLODE-ATTACK', async (data) => {
|
||||||
const outdata = {
|
const outdata = {
|
||||||
|
time: data.time,
|
||||||
rawID: data.playercont,
|
rawID: data.playercont,
|
||||||
cheatType: 'Explosion attack',
|
cheatType: 'Explosion attack',
|
||||||
player: await this.getPlayerByController(data.playercont)
|
player: await this.getPlayerByController(data.playercont)
|
||||||
|
Loading…
Reference in New Issue
Block a user