diff --git a/MiraAPI/Patches/Roles/RoleOptionsCollectionPatch.cs b/MiraAPI/Patches/Roles/RoleOptionsCollectionPatch.cs
index d4d80d3..011fc28 100644
--- a/MiraAPI/Patches/Roles/RoleOptionsCollectionPatch.cs
+++ b/MiraAPI/Patches/Roles/RoleOptionsCollectionPatch.cs
@@ -8,17 +8,17 @@ namespace MiraAPI.Patches.Roles;
///
/// Patches to return the correct role counts.
///
-[HarmonyPatch(typeof(RoleOptionsCollectionV10))]
+[HarmonyPatch(typeof(RoleOptionsCollectionV11))]
public static class RoleOptionsCollectionPatch
{
///
- /// This patch fixes being inlined (2025.9.9) in the original code.
+ /// This patch fixes being inlined (2025.9.9) in the original code.
///
[HarmonyPrefix]
- [HarmonyPatch(nameof(RoleOptionsCollectionV10.AnyRolesEnabled))]
- public static bool AnyRolesEnabledPrefix(RoleOptionsCollectionV10 __instance, ref bool __result)
+ [HarmonyPatch(nameof(RoleOptionsCollectionV11.AnyRolesEnabled))]
+ public static bool AnyRolesEnabledPrefix(RoleOptionsCollectionV11 __instance, ref bool __result)
{
- foreach (KeyValuePair keyValuePair in __instance.roles)
+ foreach (KeyValuePair keyValuePair in __instance.roles)
{
if (__instance.GetNumPerGame(keyValuePair.Key) > 0)
{
@@ -33,7 +33,7 @@ public static class RoleOptionsCollectionPatch
///
/// Return to skip original method, to not.
[HarmonyPrefix]
- [HarmonyPatch(nameof(RoleOptionsCollectionV10.GetChancePerGame))]
+ [HarmonyPatch(nameof(RoleOptionsCollectionV11.GetChancePerGame))]
public static bool GetChancePrefix(RoleTypes role, ref int __result)
{
if (!CustomRoleManager.GetCustomRoleBehaviour(role, out var customRole) || customRole == null)
@@ -63,7 +63,7 @@ public static class RoleOptionsCollectionPatch
///
/// Return to skip original method, to not.
[HarmonyPrefix]
- [HarmonyPatch(nameof(RoleOptionsCollectionV10.GetNumPerGame))]
+ [HarmonyPatch(nameof(RoleOptionsCollectionV11.GetNumPerGame))]
public static bool GetNumPrefix(RoleTypes role, ref int __result)
{
if (!CustomRoleManager.GetCustomRoleBehaviour(role, out var customRole) || customRole == null)