Jump to content
×
×
  • Create New...

Callouts not being called


Recommended Posts

I've created 4 callouts in a single VS solution, however, only one of them gets called automatically, while the others are never called, but they work if I force them using the debug menu.

 

The one that works has these requirements:

public override Task<bool> CheckRequirements() => Task.FromResult(true);

 

The others:

public override Task<bool> CheckRequirements() => Task.FromResult(World.CurrentDayTime <= TimeSpan.FromHours(4));
public override Task<bool> CheckRequirements() => Task.FromResult(World.CurrentDayTime <= TimeSpan.FromHours(5));
public override Task<bool> CheckRequirements() => Task.FromResult(true);

 

I don't think it's caused by the requirements though, because the last callout has the same requirements as the one that works.

Link to post
Share on other sites

Content_moved.png

This content has been moved to the correct section by the Community Team. Next time please post in the correct section.

If you feel this was a mistake, please report this reply with a valid reason.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: 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.