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 Water Animal spawn height option for Squids and Dolphins #12045

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

raikasdev
Copy link
Contributor

In 1.21.2 when squids and dolphins got baby variants they were moved from WaterAnimal to AgeableWaterCreature, but the Paper water animal spawn configuration code wasn't updated there.

We found this out when squids didn't spawn in our custom map with a custom sea level, even though it was configured.

@raikasdev raikasdev requested a review from a team as a code owner January 30, 2025 13:17
Copy link
Member

@electronicboy electronicboy left a comment

Choose a reason for hiding this comment

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

I ponder if these should replace initialisation rather than overriding them almost immediately, but, otherwise, from a quick look, lgtm

@raikasdev
Copy link
Contributor Author

raikasdev commented Jan 30, 2025

I ponder if these should replace initialisation rather than overriding them almost immediately, but, otherwise, from a quick look, lgtm

I was thinking about that myself, but WaterAnimal.java has it like that so I decided not to change it 🤷

@kennytv kennytv added the type: bug Something doesn't work as it was intended to. label Jan 31, 2025
@lynxplay lynxplay merged commit cb6c57e into PaperMC:main Feb 8, 2025
6 checks passed
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: Merged
Development

Successfully merging this pull request may close these issues.

4 participants