Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e4b2bd32d | |||
| 931381e254 |
+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.13</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,34 +79,34 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.actionCache[actionID];
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.statusCache[value1];
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.itemCache[value1];
|
return row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user