From 735b7f6d65326178031dd52de8920c93eaa6eef0 Mon Sep 17 00:00:00 2001 From: deathcap Date: Sat, 23 Jan 2016 15:14:02 -0800 Subject: [PATCH] Hardcode a mod list for now --- examples/client_forge/client_forge.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/client_forge/client_forge.js b/examples/client_forge/client_forge.js index e7a7f0a..d7723d2 100644 --- a/examples/client_forge/client_forge.js +++ b/examples/client_forge/client_forge.js @@ -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',