使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
gitlord
/
isleward
镜像自地址
https://gitlab.com/Isleward/isleward.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
203
百科
动态
浏览代码
fix: item effects that can't be found will now simply be removed withou crashing the server
tags/v0.12.0
Shaun
1年前
父节点
4635835848
当前提交
aa7e70e367
共有
1 个文件被更改
,包括
3 次插入
和
0 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+3
-0
src/server/components/inventory.js
+ 3
- 0
src/server/components/inventory.js
查看文件
@@ -407,9 +407,12 @@ module.exports = {
e.text = effectModule.events.onGetText(item, e);
} catch (error) {
_.log(`Effect not found: ${e.type}`);
_.log(error);
}
}
});
item.effects.spliceWhere(e => !e.events);
}
if (!item.has('pos') && !item.eq) {
撰写
预览
正在加载...
取消
保存