fix: calculate max item level outside of task
This commit is contained in:
parent
5b74c56b44
commit
597c6f43e5
|
@ -1,5 +1,4 @@
|
||||||
using System.Threading.Tasks;
|
using Dalamud.Plugin;
|
||||||
using Dalamud.Plugin;
|
|
||||||
|
|
||||||
namespace BetterPartyFinder {
|
namespace BetterPartyFinder {
|
||||||
public class Plugin : IDalamudPlugin {
|
public class Plugin : IDalamudPlugin {
|
||||||
|
@ -24,7 +23,7 @@ namespace BetterPartyFinder {
|
||||||
this.Commands = new Commands(this);
|
this.Commands = new Commands(this);
|
||||||
|
|
||||||
// start task to determine maximum item level (based on max chestpiece)
|
// 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() {
|
public void Dispose() {
|
||||||
|
|
Loading…
Reference in New Issue