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 mobs spawning #573

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Fix mobs spawning #573

merged 1 commit into from
Nov 10, 2023

Conversation

BenCheung0422
Copy link
Member

This fixes that mobs cannot be normally spawned because of the misconfigurations. The main reason is that the values are set as the tile distances for entity despawn distances. A use of using Math#hypot is prevented to speed up the calculation.

Copy link
Member

@Makkkkus Makkkkus left a comment

Choose a reason for hiding this comment

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

This will be revised when we add infinte terrain.

@Makkkkus Makkkkus merged commit 0d4412a into MinicraftPlus:main Nov 10, 2023
2 checks passed
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.

3 participants