Files
EndlessHostRoles/Patches/CosmeticsPatch.cs
T

16 lines
360 B
C#

using HarmonyLib;
namespace EHR.Patches;
public static class CosmeticsPatch
{
[HarmonyPatch(typeof(HatManager), nameof(HatManager.CheckLongModeValidCosmetic))]
private class CheckLongModeValidCosmeticPatch
{
public static bool Prefix(ref bool __result)
{
__result = true;
return false;
}
}
}