mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-04 13:01:14 -05:00
Hardcode a mod list for now
This commit is contained in:
parent
1f68b30d87
commit
735b7f6d65
1 changed files with 2 additions and 5 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue