mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 21:24:25 -04:00
FML|HS: ServerHello: overrideDimension only sent if fmlProtocolVersion>=2
This commit is contained in:
parent
8f1704bc7a
commit
9bb788bb7a
@ -60,9 +60,7 @@ proto.addType('FML|HS', [
|
||||
{
|
||||
"compareTo": "discriminator",
|
||||
"fields": {
|
||||
"0": "int"
|
||||
/* TODO
|
||||
[
|
||||
"0": [
|
||||
"switch",
|
||||
{
|
||||
// "Only sent if protocol version is greater than 1."
|
||||
@ -75,13 +73,11 @@ proto.addType('FML|HS', [
|
||||
}
|
||||
]
|
||||
},
|
||||
*/
|
||||
"default": "void"
|
||||
},
|
||||
"default": "void"
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
]);
|
||||
|
||||
client.on('custom_payload', function(packet) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user