Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
gitlord
/
isleward
mirror da
https://gitlab.com/Isleward/isleward.git
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
203
Wiki
Attività
Sfoglia il codice sorgente
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 mesi fa
committed by
Big Bad Waffle
parent
8fed69c99d
commit
cf1e9e45d6
1 ha cambiato i file
con
2 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+2
-0
src/server/objects/objects.js
+ 2
- 0
src/server/objects/objects.js
Vedi File
@@ -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: [{
Scrivi
Anteprima
Caricamento…
Annulla
Salva