RacesOfValheim/JotunnModStub/Trol/TrolClearFoodPatch.cs
2026-07-30 19:00:13 +02:00

11 lines
358 B
C#

using HarmonyLib;
namespace RacesOfValheim {
[HarmonyPatch(typeof(Player), "ClearFood")]
public static class Trol_ClearFood_Patch {
public static void Postfix(Player __instance) {
if (__instance == Player.m_localPlayer && TrolRace.IsTrol()) {
TrolFoodManager.ClearFood(__instance);
}
}
}
}