mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
16 lines
360 B
C#
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;
|
|
}
|
|
}
|
|
} |