ModList field uses 'modid' to match ServerPingList packet JSON

This commit is contained in:
deathcap 2016-01-23 17:04:02 -08:00
parent 6a6bdff5c8
commit 265fcd9d4c

View file

@ -129,7 +129,7 @@ proto.addType('FML|HS',
"container",
[
{
"name": "name",
"name": "modid",
"type": "string"
},
{
@ -232,7 +232,7 @@ client.on('custom_payload', function(packet) {
//mods: []
// TODO: send from ServerListPing packet, allow customizing not hardcoding
mods: [
{name:'IronChest', version:'6.0.121.768'}
{modid:'IronChest', version:'6.0.121.768'}
]
});
client.write('custom_payload', {