本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
gitlord
/
isleward
镜像来自
https://gitlab.com/Isleward/isleward.git
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
203
Wiki
活動
瀏覽代碼
bug
#2003
: When updating player.level in the main thread, we now also update the stats component
(cherry picked from commit
f6fe6c2f32
)
tags/v0.13.0.1^0
Shaun
7 月之前
committed by
Big Bad Waffle
父節點
8fed69c99d
當前提交
cf1e9e45d6
共有
1 個檔案被更改
,包括
2 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/server/objects/objects.js
+ 2
- 0
src/server/objects/objects.js
查看文件
@@ -301,6 +301,8 @@ module.exports = {
if (obj.level) {
await leaderboard.setLevel(player.name, obj.level);
player.components.find(c => c.type === 'stats').values.level = obj.level;
cons.emit('events', {
onGetMessages: [{
messages: [{
Write
Preview
Loading…
取消
儲存