diff --git a/MapEditorReborn/MapEditorReborn.cs b/MapEditorReborn/MapEditorReborn.cs index 84cb9f7e..f74ef702 100644 --- a/MapEditorReborn/MapEditorReborn.cs +++ b/MapEditorReborn/MapEditorReborn.cs @@ -81,8 +81,9 @@ public override void OnEnabled() string directoryPath = Path.Combine(SchematicsDir, schematicName); if (!Directory.Exists(directoryPath)) Directory.CreateDirectory(directoryPath); - - File.Move(path, Path.Combine(directoryPath, schematicName)); + + File.Move(path, Path.Combine(directoryPath, schematicName) + ".json"); + Log.Warn( $"{schematicName}.json has been moved to its own folder. Please put an entire schematic directory, not a single file!"); continue; @@ -197,9 +198,9 @@ public override void OnDisabled() public override string Author => "Michal78900 (original idea by Killers0992)"; /// - public override Version Version => new(2, 0, 2); + public override Version Version => new(2, 0, 3); /// - public override Version RequiredExiledVersion => new(5, 2, 1); + public override Version RequiredExiledVersion => new(5, 3, 0); } } \ No newline at end of file diff --git a/MapEditorReborn/MapEditorReborn.csproj b/MapEditorReborn/MapEditorReborn.csproj index 2bda6272..73bb71e3 100644 --- a/MapEditorReborn/MapEditorReborn.csproj +++ b/MapEditorReborn/MapEditorReborn.csproj @@ -212,7 +212,7 @@ - 5.2.1 + 5.3.0-beta 2.2.1