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

Biomemodifications: Check to make sure Feature isn't present before adding it #4323

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

JT122406
Copy link
Contributor

Fixes an issue where a feature order cycle error will happen because a feature may be added to a biome twice. This can occur if a biome appears in more than one tag and you want a feature in biomes from both tags, currently it gets added twice to the biome causing a feature order cycle error

@apple502j
Copy link
Contributor

Maybe a log?

@JT122406
Copy link
Contributor Author

Like print it to the console log that this is happening?

@JT122406
Copy link
Contributor Author

Thinking maybe a debug or a warn or? In my head putting it in like info doesn't make sense as this could happen very easily with tags and it's not like a "bad" thing it's just something that happens

@modmuss50
Copy link
Member

I think this seems fine, as it can happen in a valid case. We would only tend to log if something was broken.

@modmuss50 modmuss50 added bug Something isn't working small change merge me please Pull requests that are ready to merge labels Dec 29, 2024
@modmuss50 modmuss50 merged commit b1c29d8 into FabricMC:1.21.4 Dec 30, 2024
4 checks passed
modmuss50 pushed a commit that referenced this pull request Dec 30, 2024
modmuss50 pushed a commit that referenced this pull request Dec 30, 2024
(cherry picked from commit b1c29d8)
(cherry picked from commit add2a48)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working merge me please Pull requests that are ready to merge small change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants