v0.0.3.12: Fix crash when status ID not in sheet (e.g. DRK dash 6620)
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Release Build and Publish / Release Build against Staging Dalamud and deploy to MyDalamudPlugins (release) Has been cancelled
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Release Build and Publish / Release Build against Staging Dalamud and deploy to MyDalamudPlugins (release) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors>cultbaus</Authors>
|
<Authors>cultbaus</Authors>
|
||||||
<Company>-</Company>
|
<Company>-</Company>
|
||||||
<Version>0.0.3.11</Version>
|
<Version>0.0.3.12</Version>
|
||||||
<Description>This plugin manipulates flytext.</Description>
|
<Description>This plugin manipulates flytext.</Description>
|
||||||
<Copyright>-</Copyright>
|
<Copyright>-</Copyright>
|
||||||
<PackageProjectUrl>https://github.com/cultbaus/CBT</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/cultbaus/CBT</PackageProjectUrl>
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ public unsafe class SheetManager : S.IDisposable
|
|||||||
|
|
||||||
private Action? GetActionRow(int actionID)
|
private Action? GetActionRow(int actionID)
|
||||||
{
|
{
|
||||||
var row = LuminaActionSheet?.GetRow((uint)actionID);
|
var row = LuminaActionSheet?.GetRowOrDefault((uint)actionID);
|
||||||
if (row != null)
|
if (row != null)
|
||||||
{
|
{
|
||||||
this.actionCache[actionID] = row;
|
this.actionCache[actionID] = row;
|
||||||
@@ -90,7 +90,7 @@ public unsafe class SheetManager : S.IDisposable
|
|||||||
|
|
||||||
private Status? GetStatusRow(int value1)
|
private Status? GetStatusRow(int value1)
|
||||||
{
|
{
|
||||||
var row = LuminaStatusSheet?.GetRow((uint)value1);
|
var row = LuminaStatusSheet?.GetRowOrDefault((uint)value1);
|
||||||
if (row != null)
|
if (row != null)
|
||||||
{
|
{
|
||||||
this.statusCache[value1] = row;
|
this.statusCache[value1] = row;
|
||||||
@@ -101,7 +101,7 @@ public unsafe class SheetManager : S.IDisposable
|
|||||||
|
|
||||||
private Item? GetItemRow(int value1)
|
private Item? GetItemRow(int value1)
|
||||||
{
|
{
|
||||||
var row = LuminaItemSheet?.GetRow((uint)value1);
|
var row = LuminaItemSheet?.GetRowOrDefault((uint)value1);
|
||||||
if (row != null)
|
if (row != null)
|
||||||
{
|
{
|
||||||
this.itemCache[value1] = row;
|
this.itemCache[value1] = row;
|
||||||
|
|||||||
Reference in New Issue
Block a user