Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of MoreStandsWhitespaceFix v1.0.0
MoreStandsWhitespaceFix.dll
Decompiled 4 hours agousing System; using System.Reflection; using BepInEx; using HarmonyLib; [assembly: AssemblyVersion("0.0.0.0")] namespace Codex.MoreStandsWhitespaceFix; [BepInPlugin("codex.repo.morestandswhitespacefix", "MoreStandsWhitespaceFix", "1.0.0")] [BepInDependency(/*Could not decode attribute arguments.*/)] public sealed class Plugin : BaseUnityPlugin { private static void TrimItemConfigName(ref string __result) { //Error decoding local variables: Signature type sequence must have at least one element. if (__result != null) { __result = __result.Trim(); } } private void Awake() { //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Expected O, but got Unknown //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Expected O, but got Unknown MethodInfo method = Type.GetType("MoreStandsForShops.Plugin, MoreStandsForShops").GetMethod("ItemConfigName", BindingFlags.Static | BindingFlags.NonPublic); MethodInfo method2 = typeof(Plugin).GetMethod("TrimItemConfigName", BindingFlags.Static | BindingFlags.NonPublic); Harmony val = new Harmony("codex.repo.morestandswhitespacefix"); val.Patch((MethodBase)method, (HarmonyMethod)null, new HarmonyMethod(method2), (HarmonyMethod)null, (HarmonyMethod)null); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Applied the MoreStandsForShops item-name whitespace fix."); } }