mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2025-05-07 03:40:27 -04:00
friendlyFire on 0xd1 package id changed from bool to byte type
This commit is contained in:
parent
38f46998e3
commit
0ff49078ff
1 changed files with 9 additions and 9 deletions
|
@ -307,6 +307,14 @@ var packets = {
|
|||
{ name: "global", type: "bool" }
|
||||
],
|
||||
0x3e: [
|
||||
{ name: "soundName", type: "string" },
|
||||
{ name: "x", type: "int" },
|
||||
{ name: "y", type: "int" },
|
||||
{ name: "z", type: "int" },
|
||||
{ name: "volume", type: "float" },
|
||||
{ name: "pitch", type: "byte" }
|
||||
],
|
||||
0x3f: [
|
||||
{ name: "particleName", type: "string" },
|
||||
{ name: "x", type: "float" },
|
||||
{ name: "y", type: "float" },
|
||||
|
@ -317,14 +325,6 @@ var packets = {
|
|||
{ name: "particleSpeed", type: "float" },
|
||||
{ name: "particles", type: "int" }
|
||||
],
|
||||
0x3f: [
|
||||
{ name: "soundName", type: "string" },
|
||||
{ name: "x", type: "int" },
|
||||
{ name: "y", type: "int" },
|
||||
{ name: "z", type: "int" },
|
||||
{ name: "volume", type: "float" },
|
||||
{ name: "pitch", type: "byte" }
|
||||
],
|
||||
0x46: [
|
||||
{ name: "reason", type: "byte" },
|
||||
{ name: "gameMode", type: "byte" }
|
||||
|
@ -450,7 +450,7 @@ var packets = {
|
|||
{ name: "name", type: "string" },
|
||||
{ name: "prefix", type: "string" },
|
||||
{ name: "suffix", type: "string" },
|
||||
{ name: "friendlyFire", type: "bool" },
|
||||
{ name: "friendlyFire", type: "byte" },
|
||||
{ name: "players", type: "stringArray" }
|
||||
],
|
||||
0xfa: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue