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

Tall grass populator may crash the server at the height limit #3294

Closed
dktapps opened this issue Feb 5, 2020 · 6 comments
Closed

Tall grass populator may crash the server at the height limit #3294

dktapps opened this issue Feb 5, 2020 · 6 comments
Labels
Category: Core Related to internal functionality Resolution: Invalid

Comments

@dktapps
Copy link
Member

dktapps commented Feb 5, 2020

Issue description

Tall grass populator doesn't check world bounds. If it tries to grow on top of a block at y=255, the server will experience errors.

OS and versions

  • PocketMine-MP: 3.11.5, master
  • PHP: 7.3.13
@dktapps dktapps added Category: Core Related to internal functionality Status: Debugged Cause of the bug has been found, but not fixed labels Feb 5, 2020
@dktapps
Copy link
Member Author

dktapps commented Oct 31, 2020

As it turns out, the tall grass populator may not generate such structures because the generator won't place structures any higher than y=127. However, a crash may potentially still occur when using bonemeal on grass at y=255.

@jasonw4331
Copy link
Collaborator

Is this still deemed a valid issue?

@Dhaiven
Copy link
Contributor

Dhaiven commented May 15, 2024

When we use bone meal on grass, bone meal can't produce double tall grass. So the bug describe in this issues is invalid

@dktapps
Copy link
Member Author

dktapps commented May 22, 2024

When we use bone meal on grass, bone meal can't produce double tall grass. So the bug describe in this issues is invalid

That's incorrect, you can try it yourself in vanilla

@Dhaiven
Copy link
Contributor

Dhaiven commented May 23, 2024

That's incorrect, you can try it yourself in vanilla

In vanilla, bone meal can produce double tall grass but not in pocketmine

@dktapps
Copy link
Member Author

dktapps commented May 31, 2024

Right, good point.

@dktapps dktapps closed this as completed May 31, 2024
@dktapps dktapps added Resolution: Invalid and removed Status: Debugged Cause of the bug has been found, but not fixed labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core Related to internal functionality Resolution: Invalid
Projects
None yet
Development

No branches or pull requests

3 participants