mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-15 03:14:56 -05:00
y values when only 1 byte are always unsigned
This commit is contained in:
parent
bac1e8510d
commit
804397928c
1 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ var packets = {
|
|||
0x0e: [
|
||||
{ name: "status", type: "byte" },
|
||||
{ name: "x", type: "int" },
|
||||
{ name: "y", type: "byte" },
|
||||
{ name: "y", type: "ubyte" },
|
||||
{ name: "z", type: "int" },
|
||||
{ name: "face", type: "ubyte" }
|
||||
],
|
||||
|
@ -114,7 +114,7 @@ var packets = {
|
|||
{ name: "entityId", type: "int" },
|
||||
{ name: null, type: "byte" },
|
||||
{ name: "x", type: "int" },
|
||||
{ name: "y", type: "byte" },
|
||||
{ name: "y", type: "ubyte" },
|
||||
{ name: "z", type: "int" }
|
||||
],
|
||||
0x12: [
|
||||
|
@ -265,7 +265,7 @@ var packets = {
|
|||
],
|
||||
0x35: [
|
||||
{ name: "x", type: "int" },
|
||||
{ name: "y", type: "byte" },
|
||||
{ name: "y", type: "ubyte" },
|
||||
{ name: "z", type: "int" },
|
||||
{ name: "type", type: "short" },
|
||||
{ name: "metadata", type: "byte" }
|
||||
|
@ -301,7 +301,7 @@ var packets = {
|
|||
0x3d: [
|
||||
{ name: "effectId", type: "int" },
|
||||
{ name: "x", type: "int" },
|
||||
{ name: "y", type: "byte" },
|
||||
{ name: "y", type: "ubyte" },
|
||||
{ name: "z", type: "int" },
|
||||
{ name: "data", type: "int" },
|
||||
{ name: "global", type: "bool" }
|
||||
|
|
Loading…
Reference in a new issue