Hardcode a mod list for now

This commit is contained in:
deathcap 2016-01-23 15:14:02 -08:00
parent 1f68b30d87
commit 735b7f6d65

View file

@ -174,14 +174,11 @@ client.on('custom_payload', function(packet) {
var modList = proto.createPacketBuffer('FML|HS', { var modList = proto.createPacketBuffer('FML|HS', {
discriminator: 2, // ModList discriminator: 2, // ModList
mods: [] //mods: []
// TODO: send some mods // TODO: send from ServerListPing packet, allow customizing not hardcoding
// TODO: fix Error: SizeOf error for mods.2.0.name : missing data type: string
/*
mods: [ mods: [
{name:'IronChest', version:'6.0.121.768'} {name:'IronChest', version:'6.0.121.768'}
] ]
*/
}); });
client.write('custom_payload', { client.write('custom_payload', {
channel: 'FML|HS', channel: 'FML|HS',