このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
登録
サインイン
gitlord
/
isleward
ミラー元
https://gitlab.com/Isleward/isleward.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
203
Wiki
アクティビティ
ソースを参照
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行の削除
分割表示
差分オプション
統計情報を表示
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) {
書き込み
プレビュー
読み込み中…
キャンセル
保存