mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-30 03:05:37 -05:00
commit
62b870a2d1
5 changed files with 6 additions and 6 deletions
|
@ -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');
|
||||||
|
|
||||||
|
|
|
@ -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});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var mc = require('../');
|
var mc = require('../../');
|
||||||
var states = mc.protocol.states;
|
var states = mc.protocol.states;
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var mc = require('../');
|
var mc = require('../../');
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
'online-mode': true,
|
'online-mode': true,
|
||||||
|
|
Loading…
Reference in a new issue