Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from Michal78900/dev
Browse files Browse the repository at this point in the history
Dev to main
Michal78900 authored Jun 30, 2022
2 parents 081c76f + 65e89ee commit 6d8e9bf
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions MapEditorReborn/MapEditorReborn.cs
Original file line number Diff line number Diff line change
@@ -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)";

/// <inheritdoc/>
public override Version Version => new(2, 0, 2);
public override Version Version => new(2, 0, 3);

/// <inheritdoc/>
public override Version RequiredExiledVersion => new(5, 2, 1);
public override Version RequiredExiledVersion => new(5, 3, 0);
}
}
2 changes: 1 addition & 1 deletion MapEditorReborn/MapEditorReborn.csproj
Original file line number Diff line number Diff line change
@@ -212,7 +212,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="EXILED">
<Version>5.2.1</Version>
<Version>5.3.0-beta</Version>
</PackageReference>
<PackageReference Include="Lib.Harmony">
<Version>2.2.1</Version>

0 comments on commit 6d8e9bf

Please sign in to comment.