mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
ModList field uses 'modid' to match ServerPingList packet JSON
This commit is contained in:
parent
6a6bdff5c8
commit
265fcd9d4c
@ -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…
x
Reference in New Issue
Block a user