diff --git a/Projects/Server/Main.cs b/Projects/Server/Main.cs index c684e5fcf..f964a49b0 100644 --- a/Projects/Server/Main.cs +++ b/Projects/Server/Main.cs @@ -252,10 +252,13 @@ namespace Server if (IsLinux && !File.Exists(fullPath)) { var fi = new FileInfo(fullPath); - fullPath = fi.Directory!.EnumerateFiles( - fi.Name, - new EnumerationOptions { MatchCasing = MatchCasing.CaseInsensitive } - ).FirstOrDefault()?.FullName; + if (fi.Directory != null && Directory.Exists(fi.Directory.FullName)) + { + fullPath = fi.Directory.EnumerateFiles( + fi.Name, + new EnumerationOptions { MatchCasing = MatchCasing.CaseInsensitive } + ).FirstOrDefault()?.FullName; + } } if (File.Exists(fullPath)) diff --git a/Projects/UOContent/Migrations/Server.Items.SpinningwheelEastAddon.v0.json b/Projects/UOContent/Migrations/Server.Items.SpinningWheelEastAddon.v0.json similarity index 100% rename from Projects/UOContent/Migrations/Server.Items.SpinningwheelEastAddon.v0.json rename to Projects/UOContent/Migrations/Server.Items.SpinningWheelEastAddon.v0.json diff --git a/Projects/UOContent/Migrations/Server.Items.SpinningwheelEastDeed.v0.json b/Projects/UOContent/Migrations/Server.Items.SpinningWheelEastDeed.v0.json similarity index 100% rename from Projects/UOContent/Migrations/Server.Items.SpinningwheelEastDeed.v0.json rename to Projects/UOContent/Migrations/Server.Items.SpinningWheelEastDeed.v0.json diff --git a/Projects/UOContent/Migrations/Server.Items.SpinningwheelSouthAddon.v0.json b/Projects/UOContent/Migrations/Server.Items.SpinningWheelSouthAddon.v0.json similarity index 100% rename from Projects/UOContent/Migrations/Server.Items.SpinningwheelSouthAddon.v0.json rename to Projects/UOContent/Migrations/Server.Items.SpinningWheelSouthAddon.v0.json diff --git a/Projects/UOContent/Migrations/Server.Items.SpinningwheelSouthDeed.v0.json b/Projects/UOContent/Migrations/Server.Items.SpinningWheelSouthDeed.v0.json similarity index 100% rename from Projects/UOContent/Migrations/Server.Items.SpinningwheelSouthDeed.v0.json rename to Projects/UOContent/Migrations/Server.Items.SpinningWheelSouthDeed.v0.json