Skip to content

Conversation

@Gronglegrowth
Copy link

Added a check to both item and block model cloaking to ensure they only actually run if the models are different. Before this change, trying to do this would crash with a stack overflow error,,,

this prevents a stack overflow crash if the models are the same
@DaFuqs
Copy link
Owner

DaFuqs commented Oct 1, 2024

While that solves this one problem, it kind of feels like a bandaid fix for one out of more issues. It still messes up when you cloak two items as one another or a->b->c

A fix that solves all issues, instead of just this single instance would make more sense.

@Gronglegrowth
Copy link
Author

I hadn't known there were more issues; I was only aware of this one. Something more comprehensive then would indeed be better.

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