Change to GeneratedSheets2

This commit is contained in:
Asriel Camora
2024-03-19 15:56:31 -07:00
parent 0b9eb078b2
commit 7eb02a1f34
6 changed files with 70 additions and 58 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
using Craftimizer.Plugin;
using Craftimizer.Plugin.Utils;
using Lumina.Excel.GeneratedSheets;
using Lumina.Excel.GeneratedSheets2;
using System.Collections.Frozen;
using System.Collections.Generic;
using System.Collections.Immutable;
@@ -68,7 +68,7 @@ public static class FoodStatus
if (stat.BaseParam == 0)
continue;
var foodStat = new FoodStat(stat.IsRelative, stat.Value, stat.Max, stat.ValueHQ, stat.MaxHQ);
switch (stat.BaseParam)
switch ((uint)stat.BaseParam)
{
case Gearsets.ParamCraftsmanship: craftsmanship = foodStat; break;
case Gearsets.ParamControl: control = foodStat; break;