Skip to content

Commit 847ad71

Browse files
NytraBanane9
authored andcommitted
Fix shutdown
1 parent 68ae784 commit 847ad71

3 files changed

Lines changed: 2 additions & 35 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
// <auto-generated/>
22
#pragma warning disable
3-
#nullable enable annotations
43

5-
// Licensed to the .NET Foundation under one or more agreements.
6-
// The .NET Foundation licenses this file to you under the MIT license.
7-
8-
namespace System.Runtime.CompilerServices
9-
{
10-
/// <summary>
11-
/// Reserved to be used by the compiler for tracking metadata.
12-
/// This class should not be used by developers in source code.
13-
/// </summary>
14-
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
15-
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
16-
internal static class IsExternalInit
17-
{
18-
}
19-
}
4+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::System.Runtime.CompilerServices.IsExternalInit))]
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
// <auto-generated/>
22
#pragma warning disable
3-
#nullable enable annotations
43

5-
// Licensed to the .NET Foundation under one or more agreements.
6-
// The .NET Foundation licenses this file to you under the MIT license.
7-
8-
namespace System.Runtime.CompilerServices
9-
{
10-
/// <summary>
11-
/// Reserved for use by a compiler for tracking metadata.
12-
/// This attribute should not be used by developers in source code.
13-
/// </summary>
14-
[global::System.AttributeUsage(global::System.AttributeTargets.Parameter, Inherited = false)]
15-
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
16-
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
17-
internal sealed class RequiresLocationAttribute : global::System.Attribute
18-
{
19-
}
20-
}
4+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::System.Runtime.CompilerServices.RequiresLocationAttribute))]

MonkeyLoader/MonkeyLoader.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,6 @@ public void LoadGamePackMonkeys()
623623
/// <returns>The loaded mod.</returns>
624624
public NuGetPackageMod LoadMod(string path, bool isGamePack = false)
625625
{
626-
path = Path.GetFullPath(path);
627-
628626
Logger.Debug(() => $"Loading {(isGamePack ? "game pack" : "regular")} mod from: {path}");
629627

630628
var mod = new NuGetPackageMod(this, path, isGamePack);

0 commit comments

Comments
 (0)