Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A cyclic wisp spawning 2 other cyclic wisps in the same tick falsely triggers a recursion-depth fault #56

Closed
computer-whisperer opened this issue Apr 26, 2023 · 2 comments

Comments

@computer-whisperer
Copy link
Contributor

computer-whisperer commented Apr 26, 2023

Here is a simple reproducing spell

image

It took me many many hours to figure out that this was why my power distribution wisps were occasionally crashing...

Seen with the modpack "All of Fabric 6" versions 1.5.2 and 1.5.4.
Minecraft 1.19.2,
Hex Casting 0.10.3
Hexal 0.2.14,
Fabric API v0.76.0+1.19.2

@Talia-12
Copy link
Owner

Talia-12 commented May 6, 2023

this is intentional, but I should really make the error message clearer; basically, wisps can only make at most 1 new wisp each tick, to prevent fork-bomb issues.

@Talia-12
Copy link
Owner

alright, made a mishap with a clearer error message for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants