mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-15 03:14:56 -05: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
25750ddf2d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue