Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
gitlord
/
isleward
réplica de
https://gitlab.com/Isleward/isleward.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
203
Wiki
Actividad
Explorar el Código
fix: item effects that can't be found will now simply be removed withou crashing the server
tags/v0.12.0
Shaun
hace 1 año
padre
4635835848
commit
aa7e70e367
Se han
modificado 1 ficheros
con
3 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+3
-0
src/server/components/inventory.js
+ 3
- 0
src/server/components/inventory.js
Ver fichero
@@ -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) {
Escribir
Vista previa
Cargando…
Cancelar
Guardar