mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2025-05-13 06:40:25 -04:00
added entity metadata debugging message
This commit is contained in:
parent
086d47b725
commit
34e06bdd48
1 changed files with 1 additions and 0 deletions
|
@ -776,6 +776,7 @@ function readEntityMetadata(buffer, offset) {
|
|||
key = item & 0x1f;
|
||||
type = item >> 5;
|
||||
typeName = entityMetadataTypes[type];
|
||||
debug("Reading entity metadata type " + type + " (" + ( typeName || "unknown" ) + ")");
|
||||
if (!typeName) {
|
||||
return {
|
||||
error: new Error("unrecognized entity metadata type " + type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue