diff --git a/CBT/CBT.csproj b/CBT/CBT.csproj index 9a68938..fef2ba0 100644 --- a/CBT/CBT.csproj +++ b/CBT/CBT.csproj @@ -3,7 +3,7 @@ cultbaus - - 0.0.3.11 + 0.0.3.12 This plugin manipulates flytext. - https://github.com/cultbaus/CBT diff --git a/CBT/Helpers/SheetManager.cs b/CBT/Helpers/SheetManager.cs index fec9444..94e5398 100644 --- a/CBT/Helpers/SheetManager.cs +++ b/CBT/Helpers/SheetManager.cs @@ -79,7 +79,7 @@ public unsafe class SheetManager : S.IDisposable private Action? GetActionRow(int actionID) { - var row = LuminaActionSheet?.GetRow((uint)actionID); + var row = LuminaActionSheet?.GetRowOrDefault((uint)actionID); if (row != null) { this.actionCache[actionID] = row; @@ -90,7 +90,7 @@ public unsafe class SheetManager : S.IDisposable private Status? GetStatusRow(int value1) { - var row = LuminaStatusSheet?.GetRow((uint)value1); + var row = LuminaStatusSheet?.GetRowOrDefault((uint)value1); if (row != null) { this.statusCache[value1] = row; @@ -101,7 +101,7 @@ public unsafe class SheetManager : S.IDisposable private Item? GetItemRow(int value1) { - var row = LuminaItemSheet?.GetRow((uint)value1); + var row = LuminaItemSheet?.GetRowOrDefault((uint)value1); if (row != null) { this.itemCache[value1] = row;