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', {
discriminator: 2, // ModList
mods: []
// TODO: send some mods
// TODO: fix Error: SizeOf error for mods.2.0.name : missing data type: string
/*
//mods: []
// TODO: send from ServerListPing packet, allow customizing not hardcoding
mods: [
{name:'IronChest', version:'6.0.121.768'}
]
*/
});
client.write('custom_payload', {
channel: 'FML|HS',