Skip to content

Commit 2b32cfa

Browse files
committed
Fix building error in HintServiceExample and HSM.Test'
1 parent 3bde7f8 commit 2b32cfa

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

HintServiceExample/HintServiceExample.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Reference Include="Assembly-CSharp" HintPath="..\Dependencies\Assembly-CSharp-publicized.dll" Private="False" />
32+
<Reference Include="Assembly-CSharp">
33+
<HintPath>..\Dependencies\Assembly-CSharp.dll</HintPath>
34+
</Reference>
3335
<Reference Include="UnityEngine.CoreModule" HintPath="..\Dependencies\UnityEngine.CoreModule.dll" Private="False" />
3436
<Reference Include="Exiled.API" HintPath="..\Dependencies\Exiled.API.dll" Private="False" />
3537
</ItemGroup>

HintServiceMeow.Tests/Core/Utilities/CompatibilityAdaptorTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public void ShowHint_WhenDurationIsNonPositive_ClearsGroup()
4545
public void ShowHint_WhenAssemblyIsDisabled_IgnoresHint()
4646
{
4747
// Arrange
48-
PluginConfig.Instance.DisabledCompatAdapter.Clear();
49-
PluginConfig.Instance.DisabledCompatAdapter.Add("blocked");
48+
Plugin.Plugin.Instance.Config.DisabledCompatAdapter.Clear();
49+
Plugin.Plugin.Instance.Config.DisabledCompatAdapter.Add("blocked");
5050
CompatibilityAdaptor adaptor = CreateAdaptor(out PlayerDisplay display);
5151

5252
// Act

0 commit comments

Comments
 (0)