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

fix structures not generating when decorations are disabled #12358

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

orang3i
Copy link

@orang3i orang3i commented Mar 29, 2025

fixes #12353

Please feel free to let me know if any other simpler fix is possible

(tested on 1.21.4)

@orang3i orang3i requested a review from a team as a code owner March 29, 2025 10:54
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Mar 29, 2025
@lynxplay
Copy link
Contributor

So, the boolean check there might want to respect the bukkit ChunkGenerator#shouldGenerateStructures method.
Similar to how the applyBiomeDecoration method in CustomChunkGenerator respects shouldGenerateDecorations

@orang3i
Copy link
Author

orang3i commented Mar 29, 2025

@lynxplay Bukkit ChunkGenerator#shouldGenerateStructures is now respected 🫡

@Warriorrrr Warriorrrr added the type: bug Something doesn't work as it was intended to. label Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something doesn't work as it was intended to.
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

ChunkGenerator#shouldGenerateStructures() doesn't fully work when #shouldGenerateDecorations() is false
3 participants