diff --git a/example/query.php b/example/query.php index 81f3fc9..bcd25cf 100644 --- a/example/query.php +++ b/example/query.php @@ -1,9 +1,8 @@ addPsr4('SandFoxIM\\Minecraft\\', __DIR__. '/../classes'); +// run 'composer install' in parent directory for this to work + +require __DIR__. '/../vendor/autoload.php'; $minecraft = new \SandFoxIM\Minecraft\ServerQuery($argv[1], $argv[2], 2);