mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-04 21:11:04 -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', {
|
var modList = proto.createPacketBuffer('FML|HS', {
|
||||||
discriminator: 2, // ModList
|
discriminator: 2, // ModList
|
||||||
mods: []
|
//mods: []
|
||||||
// TODO: send some mods
|
// TODO: send from ServerListPing packet, allow customizing not hardcoding
|
||||||
// TODO: fix Error: SizeOf error for mods.2.0.name : missing data type: string
|
|
||||||
/*
|
|
||||||
mods: [
|
mods: [
|
||||||
{name:'IronChest', version:'6.0.121.768'}
|
{name:'IronChest', version:'6.0.121.768'}
|
||||||
]
|
]
|
||||||
*/
|
|
||||||
});
|
});
|
||||||
client.write('custom_payload', {
|
client.write('custom_payload', {
|
||||||
channel: 'FML|HS',
|
channel: 'FML|HS',
|
||||||
|
|
Loading…
Reference in a new issue