Jump to content

Hooks doesnt trigger

Fixed 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
Carbon Team

Posted

Changed Status from Pending to Fixed

1.8m

Downloads

Total number of downloads.

8.4k

Customers

Total customers served.

127k

Files Sold

Total number of files sold.

2.6m

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.