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
tags/v0.14.0^2
Shaun
6 mesi fa
parent
2453035e25
commit
f6fe6c2f32
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