fix: calculate max item level outside of task

This commit is contained in:
Anna 2021-02-12 16:51:30 -05:00
parent 5b74c56b44
commit 597c6f43e5
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
using System.Threading.Tasks;
using Dalamud.Plugin;
using Dalamud.Plugin;
namespace BetterPartyFinder {
public class Plugin : IDalamudPlugin {
@ -24,7 +23,7 @@ namespace BetterPartyFinder {
this.Commands = new Commands(this);
// start task to determine maximum item level (based on max chestpiece)
Task.Run(() => Util.CalculateMaxItemLevel(this.Interface.Data));
Util.CalculateMaxItemLevel(this.Interface.Data);
}
public void Dispose() {