Skip to content

Commit

Permalink
recompile 13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
moddedmcplayer committed Dec 9, 2023
1 parent 20fb18e commit 8d3ee88
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ScuffedVideoPlayer/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="PluginAPI" publicKeyToken="null" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.1.1.0" newVersion="13.1.1.0" />
<bindingRedirect oldVersion="0.0.0.0-13.1.2.0" newVersion="13.1.2.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
5 changes: 3 additions & 2 deletions ScuffedVideoPlayer/Patches/InstanceModeSetterPatch.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
namespace ScuffedVideoPlayer.Patches
{
using CentralAuth;
using HarmonyLib;
using ScuffedVideoPlayer.Audio;

[HarmonyPatch(typeof(CharacterClassManager), nameof(CharacterClassManager.InstanceMode), MethodType.Setter)]
[HarmonyPatch(typeof(PlayerAuthenticationManager), nameof(PlayerAuthenticationManager.InstanceMode), MethodType.Setter)]
public class InstanceModeSetterPatch
{
public static bool Prefix(CharacterClassManager __instance)
public static bool Prefix(PlayerAuthenticationManager __instance)
=> !AudioNpc.IsNpc(__instance._hub);
}
}
2 changes: 1 addition & 1 deletion ScuffedVideoPlayer/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static int GetDisplayId()
public static Plugin? Instance { get; private set; }
private Harmony? _harmony;

[PluginEntryPoint("ScuffedVideoPlayer", "1.0.2", "scuffed video player", "moddedmcplayer")]
[PluginEntryPoint("ScuffedVideoPlayer", "1.0.3", "scuffed video player", "moddedmcplayer")]
private void OnEnabled()
{
Instance = this;
Expand Down
4 changes: 2 additions & 2 deletions ScuffedVideoPlayer/ScuffedVideoPlayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
<Reference Include="NWAPIPermissionSystem">
<HintPath>C:\Users\admin\AppData\Roaming\SCP Secret Laboratory\PluginAPI\NWAPIPermissionSystem.dll</HintPath>
</Reference>
<Reference Include="PluginAPI, Version=13.1.1.0, Culture=neutral, processorArchitecture=Amd64">
<HintPath>..\packages\Northwood.PluginAPI.13.1.1\lib\net48\PluginAPI.dll</HintPath>
<Reference Include="PluginAPI, Version=13.1.2.0, Culture=neutral, processorArchitecture=Amd64">
<HintPath>..\packages\Northwood.PluginAPI.13.1.2\lib\net48\PluginAPI.dll</HintPath>
</Reference>
<Reference Include="SCPSLAudioApi">
<HintPath>C:\Users\admin\AppData\Roaming\SCP Secret Laboratory\PluginAPI\SCPSLAudioApi.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion ScuffedVideoPlayer/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<package id="MonoMod.ILHelpers" version="1.0.0-prerelease.2" targetFramework="net48" />
<package id="MonoMod.Utils" version="25.0.0-prerelease.2" targetFramework="net48" />
<package id="NVorbis" version="0.10.5" targetFramework="net48" />
<package id="Northwood.PluginAPI" version="13.1.1" targetFramework="net48" />
<package id="Northwood.PluginAPI" version="13.1.2" targetFramework="net48" />
<package id="System.Buffers" version="4.4.0" targetFramework="net48" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net48" />
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net48" />
Expand Down

0 comments on commit 8d3ee88

Please sign in to comment.