mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-12 19:11:41 +00:00
Make UserError in index.js
This commit is contained in:
parent
cbb2068454
commit
f38ea36c55
2 changed files with 3 additions and 2 deletions
|
|
@ -13,7 +13,8 @@ module.exports = {
|
|||
Command:require("./lib/command"),
|
||||
version:require("./lib/version"),
|
||||
generations:require("./lib/generations"),
|
||||
experience:require("./lib/experience")
|
||||
experience:require("./lib/experience"),
|
||||
UserError:require("./lib/UserError")
|
||||
};
|
||||
|
||||
function createMCServer(options) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
var Vec3 = require("vec3").Vec3;
|
||||
var UserError = require('../UserError');
|
||||
var UserError = require('flying-squid').UserError;
|
||||
|
||||
module.exports.player=function(player, serv) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue