fix: catch exception on item level calc

This commit is contained in:
Anna 2021-04-14 14:39:57 -04:00
parent f14a2ede44
commit a57be3fd8f
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ namespace NoSoliciting {
}
// pre-compute the max ilvl to prevent stutter
FilterUtil.MaxItemLevelAttainable(this.Interface.Data);
try {
FilterUtil.MaxItemLevelAttainable(this.Interface.Data);
} catch (Exception ex) {
PluginLog.LogError(ex, "Exception while computing max item level");
}
}
protected virtual void Dispose(bool disposing) {