Jump to content

Hooks doesnt trigger

Pending 2.0.177

IIIaKa
IIIaKa

Posted (edited)

Carbon v2.0.177.0

Hello, the hook OnAnimalDungProduced has been present for over a month, but it still does not work, while the hook OnAnimalDungProduce does work.

void OnAnimalDungProduce(RidableHorse2 horse) => PrintWarning($"OnAnimalDungProduce");//This hook is called
void OnAnimalDungProduced(RidableHorse2 horse, Item item) => PrintWarning($"OnAnimalDungProduced");//This hook is not called

//or

void OnAnimalDungProduce() => PrintWarning($"OnAnimalDungProduce");//This hook is called
void OnAnimalDungProduced() => PrintWarning($"OnAnimalDungProduced");//This hook is not called

 

Test.cs

Edited by IIIaKa
  • Administrator
Raul-Sorin Sorban

Posted

Actually, still investigating this. There's something really weird going on. But it's in progress.

  • Like 1
1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.1k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.