From 217a108ebaf1107215a71072390d87eb3a76644e Mon Sep 17 00:00:00 2001 From: deathcap Date: Thu, 31 Dec 2015 17:56:53 -0800 Subject: [PATCH] Clarify error message about requiring voxel-engine-stackgl. Closes GH-9 --- stitch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stitch.js b/stitch.js index 538ca29..dcde964 100644 --- a/stitch.js +++ b/stitch.js @@ -25,7 +25,7 @@ function StitchPlugin(game, opts) { this.registry = opts.registry || game.plugins.get('voxel-registry'); if (!this.registry) throw new Error('voxel-stitch requires voxel-registry plugin'); this.shell = game.shell; - if (!this.shell) throw new Error('voxel-stitch requires game-shell'); // for gl-init + if (!this.shell) throw new Error('voxel-stitch requires voxel-engine-stackgl'); // for gl-init opts = opts || {}; opts.artpacks = opts.artpacks || ['https://dl.dropboxusercontent.com/u/258156216/artpacks/ProgrammerArt-v2.2.1-dev-ResourcePack-20140322.zip'];