Files
TweaksAndThings/TweaksAndThings/Patches/EntityReference_Text_Patch.cs
2025-08-11 00:25:30 -05:00

16 lines
377 B
C#

using HarmonyLib;
namespace RMROC451.TweaksAndThings.Patches;
[HarmonyPatch(typeof(EntityReference))]
[HarmonyPatch(nameof(EntityReference.Text))]
[HarmonyPatchCategory("RMROC451TweaksAndThings")]
internal class EntityReference_Text_Patch
{
static void Postfix(ref string __result)
{
if (__result == "Unknown")
__result = string.Empty;
}
}