Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
gitlord
/
isleward
peilaus alkaen
https://gitlab.com/Isleward/isleward.git
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
203
Wiki
Toiminta
Selaa lähdekoodia
fix: item effects that can't be found will now simply be removed withou crashing the server
tags/v0.12.0
Shaun
1 vuosi sitten
vanhempi
4635835848
commit
aa7e70e367
1 muutettua tiedostoa
jossa
3 lisäystä
ja
0 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/server/components/inventory.js
+ 3
- 0
src/server/components/inventory.js
Näytä tiedosto
@@ -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) {
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna