Solution Cleanup + TChinese template file by 柚子

This commit is contained in:
Gurge44 committed 2024-10-30 11:58:29 +01:00
1 parent fd5240c0ee
commit 07a21e9935
468 files changed
+68826 -51464

No files matched your search

+4 -3
View File
@@ -3,19 +3,20 @@
namespace EHR.Patches
{
[HarmonyPatch(typeof(VoteBanSystem), nameof(VoteBanSystem.AddVote))]
class VoteBanSystemPatch
internal class VoteBanSystemPatch
{
public static bool Prefix()
{
return !AmongUsClient.Instance.AmHost || !Options.DisableVoteBan.GetBool();
}
}
[HarmonyPatch(typeof(VoteBanSystem), nameof(VoteBanSystem.CmdAddVote))]
class VoteBanSystemPatchCmd
internal class VoteBanSystemPatchCmd
{
public static bool Prefix()
{
return !AmongUsClient.Instance.AmHost || !Options.DisableVoteBan.GetBool();
}
}
}
}