diff --git a/examples/client_chat/client_chat.js b/examples/client_chat/client_chat.js index 4c57018..286e424 100644 --- a/examples/client_chat/client_chat.js +++ b/examples/client_chat/client_chat.js @@ -1,6 +1,6 @@ var readline = require('readline'); var color = require("ansi-color").set; -var mc = require('../'); +var mc = require('../../'); var states = mc.protocol.states; var util = require('util'); diff --git a/examples/client_echo/client_echo.js b/examples/client_echo/client_echo.js index e7e3c41..a2a53fd 100644 --- a/examples/client_echo/client_echo.js +++ b/examples/client_echo/client_echo.js @@ -1,4 +1,4 @@ -var mc = require('../') +var mc = require('../../') , states = mc.protocol.states var client = mc.createClient({ @@ -16,4 +16,4 @@ client.on('chat', function(packet) { if (username === client.username) return; client.write('chat', {message: msg}); } -}); \ No newline at end of file +}); diff --git a/examples/proxy/proxy.js b/examples/proxy/proxy.js index a6ab416..a0bcaa6 100644 --- a/examples/proxy/proxy.js +++ b/examples/proxy/proxy.js @@ -1,4 +1,4 @@ -var mc = require('../'); +var mc = require('../../'); var states = mc.protocol.states; function printHelpAndExit(exitCode) { diff --git a/examples/server/server.js b/examples/server/server.js index bef7a52..c3e21f4 100644 --- a/examples/server/server.js +++ b/examples/server/server.js @@ -1,4 +1,4 @@ -var mc = require('../'); +var mc = require('../../'); var states = mc.protocol.states; var options = { diff --git a/examples/server_helloworld/server_helloworld.js b/examples/server_helloworld/server_helloworld.js index fdc8eff..3f03322 100644 --- a/examples/server_helloworld/server_helloworld.js +++ b/examples/server_helloworld/server_helloworld.js @@ -1,4 +1,4 @@ -var mc = require('../'); +var mc = require('../../'); var options = { 'online-mode': true,