Skip to content

Commit 7e8e252

Browse files
committed
minor logic issue with versioning
1 parent 2dd1cfc commit 7e8e252

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: AutoDuty/AutoDuty.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public AutoDuty()
202202
PathsDirectory = new(_configDirectory.FullName + "/paths");
203203
AssemblyFileInfo = PluginInterface.AssemblyLocation;
204204
AssemblyDirectoryInfo = AssemblyFileInfo.Directory;
205-
Configuration.Version = (PluginInterface.IsTesting ? PluginInterface.Manifest.AssemblyVersion : PluginInterface.Manifest.TestingAssemblyVersion ?? PluginInterface.Manifest.AssemblyVersion).Revision;
205+
Configuration.Version = (PluginInterface.IsTesting ? PluginInterface.Manifest.TestingAssemblyVersion ?? PluginInterface.Manifest.AssemblyVersion : PluginInterface.Manifest.AssemblyVersion).Revision;
206206
Configuration.Save();
207207
if (!_configDirectory.Exists)
208208
_configDirectory.Create();

Diff for: AutoDuty/Helpers/MapHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ internal static class MapHelper
3838
foreach (var aetheryte in aetherytes)
3939
{
4040
if (( aetheryte.IsAetheryte && aetheryte.Territory.RowId != territoryType ) || aetheryte.Territory.ValueNullable == null || aetheryte.Territory.Value.RowId != territoryType) continue;
41-
MapMarker mapMarker = Svc.Data.GetSubrowExcelSheet<MapMarker>().AllRows().FirstOrDefault(m => m.DataType == 4 && m.DataKey.RowId == aetheryte.AethernetName.RowId); //todo whatever the heck
41+
MapMarker mapMarker = Svc.Data.GetSubrowExcelSheet<MapMarker>().AllRows().FirstOrDefault(m => m.DataType == 4 && m.DataKey.RowId == aetheryte.AethernetName.RowId);
4242

4343
if (mapMarker.RowId > 0)
4444
{

0 commit comments

Comments
 (0)