feat: 更新基础类库 新增 bukkit 的物品类

This commit is contained in:
coding
2017-11-02 17:35:51 +00:00
parent e454066cce
commit 0272518f72
8 changed files with 158 additions and 11 deletions

View File

@ -4,8 +4,8 @@ var global = this;
// noinspection JSUnusedLocalSymbols
function init(root) {
log.info('Init MiaoScript System...');
global.root = root;
global.noop = function () {};
loadCore();
loadRequire();
loadPatch();
@ -17,8 +17,6 @@ function init(root) {
* 初始化核心
*/
function loadCore() {
global.noop = function () {
};
// 加载基础模块
load(root + '/core/ext.js');
// 探测服务器类型