minecraft-protocol
Advanced tools
@@ -118,5 +118,5 @@ var EventEmitter = require('events').EventEmitter | ||
assert.ok(options.username, "username is required"); | ||
var haveCredentials = options.email && options.password; | ||
var haveCredentials = typeof options.password !== "undefined"; | ||
var keepAlive = options.keepAlive == null ? true : options.keepAlive; | ||
var email = options.email; | ||
var email = options.email || options.username; | ||
var password = options.password; | ||
@@ -123,0 +123,0 @@ |
{ | ||
"name": "minecraft-protocol", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Parse and serialize minecraft packets, plus authentication and encryption.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,3 +7,3 @@ # minecraft protocol | ||
* Supports Minecraft version 1.4.7pre | ||
* Supports Minecraft version 1.4.7 | ||
* Parses all packets and emits events with packet fields as JavaScript | ||
@@ -232,1 +232,19 @@ objects. | ||
``` | ||
## History | ||
### 0.6.4 | ||
* Allow minecraft username instead of mojang email. (thanks roblabla) | ||
### 0.6.3 | ||
* y values when only 1 byte are always unsigned | ||
### 0.6.2 | ||
* 0x0e: change face to unsigned byte | ||
### 0.6.1 | ||
* 0x0d: fix incorrectly swapped stance and y |
70341
0.41%249
7.79%