private static void Postfix(Pawn pawn, WorkGiver __instance, ref bool __result) { if (!__result && !RaceAddonTools.CheckWorkGiver(pawn.def, __instance.def)) { __result = true; } }