diff --git a/src/War3App.MapAdapter.EtoForms.Gtk/War3App.MapAdapter.EtoForms.Gtk.csproj b/src/War3App.MapAdapter.EtoForms.Gtk/War3App.MapAdapter.EtoForms.Gtk.csproj
index 54a54b6..c4a8148 100644
--- a/src/War3App.MapAdapter.EtoForms.Gtk/War3App.MapAdapter.EtoForms.Gtk.csproj
+++ b/src/War3App.MapAdapter.EtoForms.Gtk/War3App.MapAdapter.EtoForms.Gtk.csproj
@@ -5,7 +5,7 @@
9.0
enable
WinExe
- 1.6.1
+ 1.6.2
diff --git a/src/War3App.MapAdapter.EtoForms/War3App.MapAdapter.EtoForms.csproj b/src/War3App.MapAdapter.EtoForms/War3App.MapAdapter.EtoForms.csproj
index 42cf5cd..be68357 100644
--- a/src/War3App.MapAdapter.EtoForms/War3App.MapAdapter.EtoForms.csproj
+++ b/src/War3App.MapAdapter.EtoForms/War3App.MapAdapter.EtoForms.csproj
@@ -4,7 +4,7 @@
net6.0
9.0
enable
- 1.6.1
+ 1.6.2
diff --git a/src/War3App.MapAdapter.WinForms/War3App.MapAdapter.WinForms.csproj b/src/War3App.MapAdapter.WinForms/War3App.MapAdapter.WinForms.csproj
index e2be506..988f70f 100644
--- a/src/War3App.MapAdapter.WinForms/War3App.MapAdapter.WinForms.csproj
+++ b/src/War3App.MapAdapter.WinForms/War3App.MapAdapter.WinForms.csproj
@@ -7,7 +7,7 @@
enable
true
WinExe
- 1.6.1
+ 1.6.2
diff --git a/src/War3App.MapAdapter/Object/BuffObjectDataExtensions.cs b/src/War3App.MapAdapter/Object/BuffObjectDataExtensions.cs
index 2efa351..2acdca5 100644
--- a/src/War3App.MapAdapter/Object/BuffObjectDataExtensions.cs
+++ b/src/War3App.MapAdapter/Object/BuffObjectDataExtensions.cs
@@ -32,7 +32,7 @@ public static bool Adapt(this BuffObjectData buffObjectData, AdaptFileContext co
if (isSkinFile)
{
var nonSkinFileName = context.FileName.Replace($"Skin{BuffObjectData.FileExtension}", BuffObjectData.FileExtension);
-
+
if (context.Archive.FileExists(nonSkinFileName))
{
context.ReportDiagnostic(DiagnosticRule.ObjectData.RemovedSkinData, nonSkinFileName);
diff --git a/src/War3App.MapAdapter/Object/ItemObjectDataExtensions.cs b/src/War3App.MapAdapter/Object/ItemObjectDataExtensions.cs
index 7435af5..5c14070 100644
--- a/src/War3App.MapAdapter/Object/ItemObjectDataExtensions.cs
+++ b/src/War3App.MapAdapter/Object/ItemObjectDataExtensions.cs
@@ -69,7 +69,7 @@ public static bool Adapt(this ItemObjectData itemObjectData, AdaptFileContext co
}
}
- if (!isSkinFileSupported && context.FileName is not null && context.FileName.EndsWith($"Skin{ItemObjectData.FileExtension}"))
+ if (!isSkinFileSupported && context.FileName is not null && !context.FileName.EndsWith($"Skin{ItemObjectData.FileExtension}"))
{
var expectedSkinFileName = context.FileName.Replace(ItemObjectData.FileExtension, $"Skin{ItemObjectData.FileExtension}");
diff --git a/src/War3App.MapAdapter/Object/UnitObjectDataExtensions.cs b/src/War3App.MapAdapter/Object/UnitObjectDataExtensions.cs
index ef859b1..e095611 100644
--- a/src/War3App.MapAdapter/Object/UnitObjectDataExtensions.cs
+++ b/src/War3App.MapAdapter/Object/UnitObjectDataExtensions.cs
@@ -69,7 +69,7 @@ public static bool Adapt(this UnitObjectData unitObjectData, AdaptFileContext co
}
}
- if (!isSkinFileSupported && context.FileName is not null && context.FileName.EndsWith($"Skin{UnitObjectData.FileExtension}"))
+ if (!isSkinFileSupported && context.FileName is not null && !context.FileName.EndsWith($"Skin{UnitObjectData.FileExtension}"))
{
var expectedSkinFileName = context.FileName.Replace(UnitObjectData.FileExtension, $"Skin{UnitObjectData.FileExtension}");
diff --git a/src/War3App.MapAdapter/War3App.MapAdapter.csproj b/src/War3App.MapAdapter/War3App.MapAdapter.csproj
index 7171abd..716335d 100644
--- a/src/War3App.MapAdapter/War3App.MapAdapter.csproj
+++ b/src/War3App.MapAdapter/War3App.MapAdapter.csproj
@@ -4,7 +4,7 @@
net6.0
9.0
enable
- 1.6.1
+ 1.6.2