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

Prevent CastClassException on invalid duct network #488

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

DrParadox7
Copy link
Contributor

Cancels and destroys attempts to create invalid fluid duct networks instead of crashing with CastClassException.

Thermal frequently casts objects without verifying if they are valid instances of the target class, which is why this issue persists. Unfortunately, this won’t be the last time it occurs. If it were FOSS, fixing it would be trivially easy.

Cancels and destroys attempts to create invalid fluid duct networks instead of crashing
@serenibyss serenibyss merged commit a4768fe into GTNewHorizons:master Feb 12, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants