use require-self to be able to use require('minecraft-protocol') in examples

This commit is contained in:
Romain Beaumont 2015-11-30 13:23:38 +01:00
parent fabff6d8ab
commit 57d9c05941
6 changed files with 10 additions and 9 deletions
examples/server_helloworld

View file

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