本網站在啟用 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
tags/v0.14.0^2
Shaun
6 月之前
父節點
2453035e25
當前提交
f6fe6c2f32
共有
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…
取消
儲存