OnItemRepair hook not working?Solved
i have an empty class with just these 2 hooks, OnItemPickup works just fine but OnItemRepair isn't being called, is this a bug or was the hook changed/disabled?

https://umod.org/documentation/games/rust#onitemrepair


void OnItemRepair(BasePlayer player, Item item)
{
   Puts("this line is not being called");
}

object OnItemPickup(Item item, BasePlayer player)
{
   Puts("OnItemPickup works!");
   return;
}​
Per the change log for Oxide:

  • Hooks currently disabled due to patcher issues: OnNpcTarget (for animals), OnNpcPlayerTarget (Apex NPCs), OnSurveyGather, OnFlameExplosion, OnLootPlayer, OnRefreshVendingStock, OnFlameThrowerBurn, OnFireBallDamage, OnFireBallSpread, OnRecycleItem (partially), CanBeTargeted for flame turrets and guntraps, and OnItemRepair; plugins using these will have issues/not work fully
Locked automatically