Merge pull request #144 from PrismarineJS/fix-143

Fix examples
This commit is contained in:
Dennis Bartlett 2015-03-26 10:35:52 -05:00
commit 62b870a2d1
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
var readline = require('readline'); var readline = require('readline');
var color = require("ansi-color").set; var color = require("ansi-color").set;
var mc = require('../'); var mc = require('../../');
var states = mc.protocol.states; var states = mc.protocol.states;
var util = require('util'); var util = require('util');

View file

@ -1,4 +1,4 @@
var mc = require('../') var mc = require('../../')
, states = mc.protocol.states , states = mc.protocol.states
var client = mc.createClient({ var client = mc.createClient({
@ -16,4 +16,4 @@ client.on('chat', function(packet) {
if (username === client.username) return; if (username === client.username) return;
client.write('chat', {message: msg}); client.write('chat', {message: msg});
} }
}); });

View file

@ -1,4 +1,4 @@
var mc = require('../'); var mc = require('../../');
var states = mc.protocol.states; var states = mc.protocol.states;
function printHelpAndExit(exitCode) { function printHelpAndExit(exitCode) {

View file

@ -1,4 +1,4 @@
var mc = require('../'); var mc = require('../../');
var states = mc.protocol.states; var states = mc.protocol.states;
var options = { var options = {

View file

@ -1,4 +1,4 @@
var mc = require('../'); var mc = require('../../');
var options = { var options = {
'online-mode': true, 'online-mode': true,