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: anglecolor #3043

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

fix: anglecolor #3043

wants to merge 2 commits into from

Conversation

PierreSchwang
Copy link
Member

Overview

Fixes #3032

Submitter Checklist

Preview Give feedback

@PierreSchwang PierreSchwang requested a review from a team as a code owner December 23, 2024 20:58
@github-actions github-actions bot added the Bugfix This PR fixes a bug label Dec 23, 2024
@@ -409,6 +409,11 @@ public BiomeType getBiomeType(int x, int y, int z) {
return getExtent().getBiomeType(x, y, z);
}

@Override
public BiomeType getBiome(final BlockVector3 position) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there potentially other places we need to add the override/load?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't seen any other occurrences in implementations, which would need that. I could've potentially implemented that in FilterBlock.java - but that could result in a Stackoverflow, if getBiomeType / getBiome is not properly implemented (due to getBiomeType maybe delegating to getBiome, which defaults to getBiomeType)

@dordsor21 dordsor21 requested a review from a team December 24, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix This PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#anglecolor not working
2 participants