y values when only 1 byte are always unsigned

This commit is contained in:
Andrew Kelley 2013-01-22 09:01:29 -05:00
parent bac1e8510d
commit 804397928c

View file

@ -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" }