mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 05:35:56 -04:00
Remove debug template string from protocol.js
This commit is contained in:
parent
c1ced61d47
commit
d8b1ce68ac
@ -1471,8 +1471,8 @@ function createPacketBuffer(packetId, state, params, isServer) {
|
|||||||
try {
|
try {
|
||||||
length += sizeOf(params[fieldInfo.name], fieldInfo, params);
|
length += sizeOf(params[fieldInfo.name], fieldInfo, params);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(`fieldInfo : ${JSON.stringify(fieldInfo)}`);
|
console.log("fieldInfo : " + JSON.stringify(fieldInfo));
|
||||||
console.log(`params : ${JSON.stringify(params)}`);
|
console.log("params : " + JSON.stringify(params));
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user