Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
gitlord
/
isleward
espelho de
https://gitlab.com/Isleward/isleward.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
203
Wiki
Trabalho
Ver a proveniência
fix: item effects that can't be found will now simply be removed withou crashing the server
tags/v0.12.0
Shaun
há 1 ano
ascendente
4635835848
cometimento
aa7e70e367
1 ficheiros alterados
com
3 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+3
-0
src/server/components/inventory.js
+ 3
- 0
src/server/components/inventory.js
Ver ficheiro
@@ -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) {
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar