Skip to content

Commit

Permalink
Clarify error message about requiring voxel-engine-stackgl. Closes GH-9
Browse files Browse the repository at this point in the history
  • Loading branch information
deathcap committed Jan 1, 2016
1 parent 228c126 commit 217a108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 217a108

Please sign in to comment.