From 4e4b2bd32dca4f72fcf34db334ed90b1623ca9fe Mon Sep 17 00:00:00 2001 From: Knack117 Date: Sat, 14 Feb 2026 23:51:10 -0500 Subject: [PATCH] v0.0.3.13: Fix KeyNotFoundException when status ID not in sheet (return row not cache) Co-authored-by: Cursor --- CBT/CBT.csproj | 2 +- CBT/Helpers/SheetManager.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CBT/CBT.csproj b/CBT/CBT.csproj index fef2ba0..6a72521 100644 --- a/CBT/CBT.csproj +++ b/CBT/CBT.csproj @@ -3,7 +3,7 @@ cultbaus - - 0.0.3.12 + 0.0.3.13 This plugin manipulates flytext. - https://github.com/cultbaus/CBT diff --git a/CBT/Helpers/SheetManager.cs b/CBT/Helpers/SheetManager.cs index 94e5398..1add598 100644 --- a/CBT/Helpers/SheetManager.cs +++ b/CBT/Helpers/SheetManager.cs @@ -85,7 +85,7 @@ public unsafe class SheetManager : S.IDisposable this.actionCache[actionID] = row; } - return this.actionCache[actionID]; + return row; } private Status? GetStatusRow(int value1) @@ -96,7 +96,7 @@ public unsafe class SheetManager : S.IDisposable this.statusCache[value1] = row; } - return this.statusCache[value1]; + return row; } private Item? GetItemRow(int value1) @@ -107,6 +107,6 @@ public unsafe class SheetManager : S.IDisposable this.itemCache[value1] = row; } - return this.itemCache[value1]; + return row; } } \ No newline at end of file