From 265fcd9d4cecfb203f7ccfc18f12c62388945a4a Mon Sep 17 00:00:00 2001 From: deathcap Date: Sat, 23 Jan 2016 17:04:02 -0800 Subject: [PATCH] ModList field uses 'modid' to match ServerPingList packet JSON --- examples/client_forge/client_forge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/client_forge/client_forge.js b/examples/client_forge/client_forge.js index 541159c..6d98868 100644 --- a/examples/client_forge/client_forge.js +++ b/examples/client_forge/client_forge.js @@ -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', {