mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-04 21:11:04 -05:00
Show FML|HS ModList from server
This commit is contained in:
parent
735b7f6d65
commit
790ba538d9
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@ client.on('custom_payload', function(packet) {
|
||||||
channel: 'FML|HS',
|
channel: 'FML|HS',
|
||||||
data: modList
|
data: modList
|
||||||
});
|
});
|
||||||
|
} else if (parsed.data.discriminator === 2) { // ModList
|
||||||
|
console.log('Server ModList:',parsed.data.mods);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue