mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 13:14:41 -04:00
Update proxy.js
ups != was right in one of those cases.... ummm using typeof may be better? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof
This commit is contained in:
parent
bc94bc1fe0
commit
6489d28207
@ -180,6 +180,6 @@ function shouldDump(name, direction) {
|
||||
return matches(printNameWhitelist[name]);
|
||||
|
||||
function matches(result) {
|
||||
return result !== null && result.indexOf(direction) !== -1;
|
||||
return result != null && result.indexOf(direction) !== -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user