Also to the odd noob who passes by, they look at the protocol documentation
http://wiki.vg/Protocol and at the code and it becomes apparent what that
is used for, even if why isn't so obvious. It also gives a hint how / when
a function is supposed to be used


On Mon, Jan 6, 2014 at 3:43 PM, Andrew Kelley <notifications@github.com>wrote:

> In examples/client_echo.js:
>
> > @@ -6,12 +8,12 @@ var client = mc.createClient({
> >  client.on('connect', function() {
> >    console.info('connected');
> >  });
> > -client.on(0x03, function(packet) {
> > +client.on([states.PLAY, 0x02], function(packet) {
>
> After looking into it a lot more yesterday, I agree with your decision.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/superjoe30/node-minecraft-protocol/pull/69/files#r8680406>
> .
>