mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-12 08:51:06 -05:00
ModList field uses 'modid' to match ServerPingList packet JSON
This commit is contained in:
parent
6a6bdff5c8
commit
265fcd9d4c
1 changed files with 2 additions and 2 deletions
|
@ -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', {
|
||||
|
|
Loading…
Reference in a new issue