mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-04 13:01:14 -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",
|
"container",
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "name",
|
"name": "modid",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -232,7 +232,7 @@ client.on('custom_payload', function(packet) {
|
||||||
//mods: []
|
//mods: []
|
||||||
// TODO: send from ServerListPing packet, allow customizing not hardcoding
|
// TODO: send from ServerListPing packet, allow customizing not hardcoding
|
||||||
mods: [
|
mods: [
|
||||||
{name:'IronChest', version:'6.0.121.768'}
|
{modid:'IronChest', version:'6.0.121.768'}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
client.write('custom_payload', {
|
client.write('custom_payload', {
|
||||||
|
|
Loading…
Reference in a new issue